您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

10 行
308 B

  1. #!/usr/bin/env bash
  2. set -e
  3. # Fetch the current GitHub issue number, add one to it -- presto! The likely
  4. # next PR number.
  5. CURRENT_NUMBER=$(curl -s "https://api.github.com/repos/matrix-org/synapse/issues?state=all&per_page=1" | jq -r ".[0].number")
  6. CURRENT_NUMBER=$((CURRENT_NUMBER+1))
  7. echo $CURRENT_NUMBER