Skip to content

Commit

Permalink
Fix release version ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed Nov 22, 2021
1 parent 701adb7 commit 17089e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/:1}" >> $GITHUB_ENV
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install npm
run: |
npm i -g vsce
npm install
- name: Publish
run: |
echo $RELEASE_VERSION
vsce publish -p $VSCODE_TOKEN --no-git-tag-version $RELEASE_VERSION
vsce publish -p $VSCODE_TOKEN --no-git-tag-version ${RELEASE_VERSION:1}
env:
VSCODE_TOKEN: ${{ secrets.VSCODE_TOKEN }}

0 comments on commit 17089e3

Please sign in to comment.