diff options
author | Andrej Shadura <andrewsh@debian.org> | 2021-11-23 13:10:12 +0100 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2021-11-23 13:11:07 +0100 |
commit | ae85dc4032c8b1a641e4fd82d4d106bc38bb7743 (patch) | |
tree | d64c964cbab32cd52b6d2a5572aff7478bc0d8db /scripts-dev/next_github_number.sh | |
parent | 6b1856342f58a08702a4ba57d950958e4d668972 (diff) | |
parent | 2af61fa72cb6d3cca97fc1e8755968a245c09b96 (diff) |
Merge branch 'debian/unstable' into debian/bullseye-backports
Diffstat (limited to 'scripts-dev/next_github_number.sh')
-rwxr-xr-x | scripts-dev/next_github_number.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/next_github_number.sh b/scripts-dev/next_github_number.sh index 00e9b145..5ecd5151 100755 --- a/scripts-dev/next_github_number.sh +++ b/scripts-dev/next_github_number.sh @@ -4,6 +4,6 @@ set -e # Fetch the current GitHub issue number, add one to it -- presto! The likely # next PR number. -CURRENT_NUMBER=`curl -s "https://api.github.com/repos/matrix-org/synapse/issues?state=all&per_page=1" | jq -r ".[0].number"` +CURRENT_NUMBER=$(curl -s "https://api.github.com/repos/matrix-org/synapse/issues?state=all&per_page=1" | jq -r ".[0].number") CURRENT_NUMBER=$((CURRENT_NUMBER+1)) echo $CURRENT_NUMBER |