Skip to content

Adjust VS Code types version #4

Adjust VS Code types version

Adjust VS Code types version #4

Workflow file for this run

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 }}