Skip to content

Release tag before publish #13

Release tag before publish

Release tag before publish #13

Workflow file for this run

name: Release tag before publish
on: workflow_dispatch
jobs:
release-tag:
name: Create new release tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
fetch-depth: 0
fetch-tags: true
- name: Install npm eslint
run: npm install -g eslint
- name: npm install packages
run: npm install
- name: Check manual changes on CHANGELOG.md
run: |
if git diff --exit-code origin/master -- CHANGELOG.md; then
message='Unable to find actual changes in CHANGELOG.md. Do proper changes and rerun this job!'
echo "::error file={name},line={line},endLine={endLine},title={title}::${message}"
exit 1
fi
- name: Bump version
run: .github/workflows/release-tag-bump-version.sh
- name: clean
run: rm -f debugger/*.lua; rm -f debugger/*.lua.map; rm -f extension/*.js; rm -f extension/*.js.map; rm -f *.vsix
- name: npm run lint, build and vsce package within npm run bundle
run: npm run bundle
- uses: actions/upload-artifact@v4
with:
name: vsix
path: second-local-lua-debugger-vscode-*.vsix