Skip to content

Commit

Permalink
ci: fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rszyma committed Dec 3, 2023
1 parent a295190 commit 5fcaa44
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Setup - git
run: |
git --version
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git status
- name: Setup - just
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Try bump kanata
run: |
status=$(just --quiet bump_kanata; echo $?)
status=$(just bump_kanata > /dev/null 2>&1; echo $?)
if [ $status -eq 0 ]; then
git push
elif [ $status -eq 123 ]; then
Expand Down Expand Up @@ -87,12 +87,12 @@ jobs:

- name: Increment semver patch number
id: new-version
run: curl https://raw.githubusercontent.com/rszyma/shell-semver/master/increment_version.sh -sSf | sh -s -- -p ${{ steps.version.outputs.value }}
run: output=$(curl https://raw.githubusercontent.com/rszyma/shell-semver/master/increment_version.sh -sSf | bash -s -- -p ${{ steps.version.outputs.value }})

- name: Setup - vsce
run: yarn global add vsce

- name: Build and publish
run: just pre_release ${{ steps.new-version.outputs.value }}
run: just pre_release ${{ steps.new-version.outputs.output }}
env:
VSCE_PAT: ${{ secrets.VSCE_ACCESS_TOKEN }}

0 comments on commit 5fcaa44

Please sign in to comment.