Skip to content

Commit

Permalink
chore(ci): fix parsing new version
Browse files Browse the repository at this point in the history
  • Loading branch information
moetayuko committed Apr 21, 2024
1 parent 933af41 commit d928262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
run: |
envsubst < config.toml.in > config.toml
nvchecker -c config.toml
nvcmp -c config.toml --exit-status && exit || echo "ret=$?" >> $GITHUB_OUTPUT
vers=$(nvcmp -c config.toml --exit-status -aj) && exit || echo "ret=$?" >> $GITHUB_OUTPUT
nvtake -c config.toml --all
echo "new=$(jq -r .cloudflared new_ver.json)" >> $GITHUB_OUTPUT
jq -cr '.[] | select(.name=="cloudflared") | "new=\(.newver)"' <<< $vers >> $GITHUB_OUTPUT
echo $OP_VERSION > sha
- name: Commit new version
Expand Down

0 comments on commit d928262

Please sign in to comment.