Skip to content

Commit

Permalink
chore(ci): use git tag name as a version on extension publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszjenek committed Jun 11, 2024
1 parent c091b36 commit c2befa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:

- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
run: npm run deploy
run: npx vsce publish ${{ github.ref_name }}
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "humanitec",
"description": "This extension is designed to enhance your experience when working with the Humanitec Platform Orchestrator directly from Visual Studio Code. It provides a set of features to simplify your workflow, making it easier to manage your applications, components, and configurations.",
"icon": "media/humanitec_logo.png",
"version": "0.1.1",
"version": "0.0.0",
"engines": {
"vscode": "^1.87.0"
},
Expand Down Expand Up @@ -165,7 +165,6 @@
"test": "vscode-test",
"prettier": "npx prettier . --write",
"package": "vsce package",
"deploy": "vsce publish",
"prepare": "husky"
},
"lint-staged": {
Expand Down

0 comments on commit c2befa3

Please sign in to comment.