Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sempr authored Jul 18, 2022
1 parent c2fac95 commit db4cabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
echo "COMMIT_ID=${COMMIT_ID}" >> $GITHUB_ENV
echo "TAG_NAME=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
OLD_URL=$(curl -fsSL https://github.com/sempr/at-tool/releases/latest | grep "commit.txt"| grep href | awk -F'"' '{print $2}')
if [ "$OLD_URL" = "" ]; then
if [ "$OLD_URL" != "" ]; then
curl -fsSL -o old_commit.txt https://github.com/$OLD_URL
fi
MSG=$(diff commit.txt old_commit.txt >/dev/null 2>&1; echo $?)
Expand Down

0 comments on commit db4cabd

Please sign in to comment.