Skip to content

Commit

Permalink
test push version to api
Browse files Browse the repository at this point in the history
  • Loading branch information
hughy committed Oct 3, 2023
1 parent a584239 commit a85b922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push-version-to-api.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Push new version number to API
on:
push:
branches:
- test-push-version-to-api
workflow_dispatch:
inputs:
push_mainnet:
Expand Down
1 change: 1 addition & 0 deletions ironfish-cli/scripts/push-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if ! command -v curl &> /dev/null; then
fi

VERSION="$(jq -r '.version' ironfish-cli/package.json)"
echo $VERSION
STATUS="$(curl \
--write-out '%{http_code}' \
--silent \
Expand Down

0 comments on commit a85b922

Please sign in to comment.