Skip to content

Commit

Permalink
Fix version number (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Feb 15, 2024
1 parent af12f8a commit fa578f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ jobs:
- name: Build package
working-directory: ${{ env.vscode-dir }}
run: |
yarn version --new-version ${{ steps.constants.outputs.version }} --allow-same-version
VERSION=${{ steps.constants.outputs.version }}
VERSION_WITHOUT_V=$(echo $VERSION | sed 's/^v//')
yarn version --new-version $VERSION_WITHOUT_V --allow-same-version
yarn run package
if [[ "${{ github.event_name }}" == "release" && "$VERSION_WITHOUT_V" != "$VERSION" ]]; then
cp toit-*.vsix toit-${{ steps.constants.outputs.version }}.vsix
fi
- name: Upload vsix artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit fa578f5

Please sign in to comment.