-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add publish and pull request steps for release
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,10 @@ jobs: | |
- name: Pack extension | ||
run: npx vsce pack | ||
|
||
# todo: publish to marketplace | ||
- name: Publish extension to marketplace | ||
run: npx vsce publish | ||
env: | ||
VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
|
||
- name: Update GitHub release assets | ||
run: gh release upload ${{ env.VERSION_TAG }} *.vsix --clobber | ||
|
@@ -81,16 +84,13 @@ jobs: | |
- name: Patch package.json version | ||
run: npm version patch --git-tag-version false | ||
|
||
- name: Print changes | ||
run: git diff | ||
|
||
# - name: Commit, push and create pull request | ||
# run: | | ||
# git config --local user.email "[email protected]" | ||
# git config --local user.name "GeoWerkstatt-Build" | ||
# git checkout -b $GIT_BRANCH_NAME | ||
# git commit -am "$GIT_COMMIT_MESSAGE" | ||
# git push --set-upstream origin $GIT_BRANCH_NAME | ||
# gh pr create --title "$GIT_COMMIT_MESSAGE" --body "" | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Commit, push and create pull request | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GeoWerkstatt-Build" | ||
git checkout -b $GIT_BRANCH_NAME | ||
git commit -am "$GIT_COMMIT_MESSAGE" | ||
git push --set-upstream origin $GIT_BRANCH_NAME | ||
gh pr create --title "$GIT_COMMIT_MESSAGE" --body "" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |