This commit is contained in:
parent
f0f95d5097
commit
7d7d6af56f
|
|
@ -34,6 +34,7 @@ runs:
|
||||||
# 获取所有发布版本号
|
# 获取所有发布版本号
|
||||||
json=''
|
json=''
|
||||||
json=$(curl -H 'Authorization:token ${{ inputs.token }}' ${{ inputs.server_url }}/api/v1/repos/${{ gitea.repository }}/releases)
|
json=$(curl -H 'Authorization:token ${{ inputs.token }}' ${{ inputs.server_url }}/api/v1/repos/${{ gitea.repository }}/releases)
|
||||||
|
echo "json=$json"
|
||||||
|
|
||||||
# 检查是否存在当前日期的版本
|
# 检查是否存在当前日期的版本
|
||||||
if [ -n "$json" ]; then
|
if [ -n "$json" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue