Skip to content

Commit e354349

Browse files
fix
1 parent f45b846 commit e354349

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- run: poetry build
1919
- run: pip install twine
2020
- run: twine upload dist/* -ualex-treebeard -p${{ secrets.PYPI_PASSWORD }}
21-
- run: yarn && yarn run publish ${GITHUB_REF:10}
21+
- run: yarn && yarn run bumpversion ${GITHUB_REF:10} && yarn run publish
2222
env:
2323
VSCE_PAT: ${{ secrets.VSCE_PAT }}
2424
- uses: EndBug/[email protected]

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@
7373
"url": "https://github.com/treebeardtech/deepcov"
7474
},
7575
"scripts": {
76+
"bumpversion": "yarn version --no-git-tag-version --new-version",
7677
"compile": "tsc -p ./ && yarn run lint",
7778
"lint": "eslint src --ext ts",
7879
"package": "yarn run vsce package",
79-
"publish": "yarn version --no-git-tag-version ${0} --new-version && yarn run vsce publish",
80+
"publish": "yarn run vsce publish",
8081
"test": "node ./out/test/runTest.js",
8182
"vscode:prepublish": "yarn run compile",
8283
"watch": "tsc -watch -p ./"

0 commit comments

Comments
 (0)