Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit bddd278

Browse files
committed
Correct version tagging
1 parent e40ea84 commit bddd278

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,14 @@ jobs:
2727
run: |
2828
git log $(git describe --tags --abbrev=0)..HEAD --oneline &> ${{ github.workspace }}-CHANGELOG.txt
2929
cat ${{ github.workspace }}-CHANGELOG.txt
30-
- name: Compile New Version
31-
run: |
32-
RELEASE_VERSION=$(npx semver ${{github.ref_name}} -i $RELEASE_TYPE)
33-
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
34-
echo "Bump to $RELEASE_VERSION"
3530
- name: Package Extension
36-
run: vsce package $RELEASE_VERSION --no-git-tag-version --no-update-package-json -o "github-workflow-updater-$RELEASE_VERSION.vsix"
31+
run: vsce package ${{github.ref_name}} --no-git-tag-version --no-update-package-json -o "github-workflow-updater-${{github.ref_name}}.vsix"
3732
# - name: Publish to Visual Studio Marketplace
38-
# run: vsce publish --packagePath "./releases/github-workflow-updater-$RELEASE_VERSION.vsix" --no-git-tag-version --no-update-package-json -p ${{ secrets.VSC_MKTP_PAT }}
33+
# run: vsce publish --packagePath "./releases/github-workflow-updater-${{github.ref_name}}.vsix" --no-git-tag-version --no-update-package-json -p ${{ secrets.VSC_MKTP_PAT }}
3934
- name: Publish to Open VSX Registry
4035
continue-on-error: true
4136
uses: HaaLeo/publish-vscode-extension@ca5561daa085dee804bf9f37fe0165785a9b14db # tag v2.0.0
4237
with:
4338
preRelease: false
4439
pat: ${{ secrets.OPEN_VSX_TOKEN }}
45-
extensionFile: "github-workflow-updater-$RELEASE_VERSION.vsix"
40+
extensionFile: "github-workflow-updater-${{github.ref_name}}.vsix"

0 commit comments

Comments
 (0)