Adjust VS Code types version #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
# How to tag a release: | |
# 1. Write a changelog & commit it. | |
# 2. Increment the version number in package.json & commit it. | |
# 3. Run `vsce package` to create a .vsix file | |
# 4. Upload the .vsix file to the Visual Studio Marketplace (https://marketplace.visualstudio.com/manage/publishers) | |
# 5. Create a Git tag with the version number (e.g. `git tag 1.2.3`) and this workflow will create a release on GitHub. | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
release: | |
name: Prepare & Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- name: Get Changelog | |
id: changelog | |
uses: statamic/changelog-action@v1 | |
with: | |
version: ${{ github.ref }} | |
- name: Create release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
body: ${{ steps.changelog.outputs.text }} | |
prerelease: ${{ contains(github.ref, '-beta') }} | |
- name: Comment on related issues | |
uses: duncanmcclean/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
version: ${{ github.ref }} | |
changelog: ${{ steps.changelog.outputs.text }} |