Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rkw committed May 18, 2024
1 parent 992b0ef commit 094831c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ jobs:
with:
fetch-depth: 0 # Fetches all history for all tags and branches

- name: check for new release
run: |
latest_release=`curl -s https://pypi.org/pypi/monzo-utils/json | jq -r '.info.version'`
version=`grep '^##' CHANGELOG.md |head -n1 |cut -d ' ' -f2`
if [ "$latest_release" = "$version" ] ; then
echo "no new version to release, stopping."
exit 0
fi
- name: build monzo-utils
run: |
mkdir venv
Expand Down

0 comments on commit 094831c

Please sign in to comment.