Skip to content

Commit

Permalink
set local version in job output
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmontanaro committed Nov 18, 2022
1 parent 48a4931 commit 2add3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
UPSTREAM_VERSION=$(curl -fsSL https://api.github.com/repos/shuttle-hq/shuttle/releases/latest | jq -r '.tag_name')
echo "upstream_version=$UPSTREAM_VERSION" >> $GITHUB_OUTPUT
LOCAL_VERSION=$(curl -fsSL https://api.github.com/repos/jfmontanaro/cargo-shuttle-builds/releases/latest | jq -r '.tag_name')
echo "local_version=$LOCAL_VERSION" >> $GITHUB_OUTPUT
if [[ $LOCAL_VERSION == $UPSTREAM_VERSION ]]; then
echo "Update not needed: $LOCAL_VERSION == $UPSTREAM_VERSION"
else
Expand Down Expand Up @@ -65,7 +66,6 @@ jobs:

- id: create-release
run: |
ls -R
mkdir upload
mv cargo-shuttle-ubuntu/cargo-shuttle upload/cargo-shuttle_x86_64-unknown-linux-gnu
mv cargo-shuttle-windows/cargo-shuttle.exe upload/cargo-shuttle_x86_64-pc-windows-msvc
Expand Down

0 comments on commit 2add3e1

Please sign in to comment.