Skip to content

Commit ea14c66

Browse files
author
PEZ
committed
Update release pipeline with power tools learnings
1 parent fbf709c commit ea14c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- name: Publish to VS Code Marketplace
8787
run: | # TODO: Actually publish to the marketplace. For now, only verify that the personal access token will work
8888
npx vsce verify-pat --pat ${{ secrets.MARKETPLACE_PAT }}
89-
echo npx vsce publish --packagePath /tmp/*.vsix --pat ${{ secrets.MARKETPLACE_PAT }} --githubBranch master
89+
echo npx vsce publish --packagePath /tmp/*.vsix --pat ${{ secrets.MARKETPLACE_PAT }} --githubBranch master --allow-all-proposed-apis
9090
9191
publish-to-open-vsx:
9292
runs-on: ubuntu-latest
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Get Source Branch
138138
id: source-branch
139-
run: echo "BUMP_BRANCH=$(git name-rev --name-only --exclude=tags/* HEAD)" >> $GITHUB_ENV
139+
run: echo "BUMP_BRANCH=$(git symbolic-ref --short HEAD || echo 'master')" >> $GITHUB_ENV
140140

141141
- name: Setup Babashka
142142
uses: DeLaGuardo/[email protected]

0 commit comments

Comments
 (0)