Skip to content

Commit

Permalink
[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Apr 26, 2024
1 parent ca1f0a7 commit d73b401
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions update-versions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/sct/overseerr/commits/develop" | jq -re .sha) || exit 1
[[ -z ${version} ]] && exit 0
[[ ${version} == null ]] && exit 0
message=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/sct/overseerr/commits/${version}" | jq -re .commit.message) || exit 1
[[ ${message} == *"[skip ci]"* ]] && exit 0
json=$(cat VERSION.json)
Expand Down

0 comments on commit d73b401

Please sign in to comment.