Skip to content

Commit

Permalink
ci(github/new-version): added debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Nov 30, 2024
1 parent a9cf2b2 commit 1af793f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ upstream_data=$(curl -s https://api.github.com/repos/zen-browser/desktop/release
echo "Upstream data: $upstream_data" >&2

upstream=$(echo "$upstream_data" | jq -r '.tag_name')
echo "Upstream version is: $upstream" >&2

local=$(grep -oP 'version = "\K[^"]+' flake.nix)
echo "Current version (local) is: $local" >&2

if [ "$upstream" != "$local" ]; then
echo "new_version=true" >>"$GITHUB_OUTPUT"
Expand Down

0 comments on commit 1af793f

Please sign in to comment.