mirror of
https://github.com/vacp2p/status-linea-besu.git
synced 2026-01-09 13:58:02 -05:00
Update release workflow (#7680)
Set RELEASE_NAME as environment variable for the step Signed-off-by: Chaminda Divitotawela <cdivitotawela@gmail.com>
This commit is contained in:
committed by
GitHub
parent
bef897a162
commit
682daa31b9
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -14,8 +14,9 @@ jobs:
|
||||
steps:
|
||||
- name: Pre-process Release Name
|
||||
id: pre_process_release_name
|
||||
env:
|
||||
RELEASE_NAME: "${{ github.event.release.name }}"
|
||||
run: |
|
||||
RELEASE_NAME="${{ github.event.release.name }}"
|
||||
# strip all whitespace
|
||||
RELEASE_NAME="${RELEASE_NAME//[[:space:]]/}"
|
||||
if [[ ! "$RELEASE_NAME" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?(-.*)?$ ]]; then
|
||||
|
||||
Reference in New Issue
Block a user