mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
correctly mark the release as prerelease
release must be marked as prerelease if "alpha" or "beta" is in tag name Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27092)
This commit is contained in:
parent
064bb16454
commit
1bf328edf9
3
.github/workflows/make-release.yml
vendored
3
.github/workflows/make-release.yml
vendored
@ -38,4 +38,5 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
run: |
|
||||
VERSION=$(echo ${{ github.ref_name }} | cut -d "-" -f 2-)
|
||||
gh release create ${{ github.ref_name }} -t "OpenSSL $VERSION" -d --notes " " -R ${{ github.repository }} ${{ github.ref_name }}/assets/*
|
||||
PRE_RELEASE=$([[ ${{ github.ref_name }} =~ alpha|beta ]] && echo "-p" || echo "")
|
||||
gh release create ${{ github.ref_name }} $PRE_RELEASE -t "OpenSSL $VERSION" -d --notes " " -R ${{ github.repository }} ${{ github.ref_name }}/assets/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user