Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr committed Oct 30, 2024
1 parent dde33a7 commit 75584be
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
options:
- RC
- GA
version:
rc_version:
type: string
default: ''
description: 'If candidate is RC, set a version like RC1 or RC2, else leave it empty'
Expand Down Expand Up @@ -57,7 +57,11 @@ jobs:
S3_PATH=$PROJECT_VERSION
CANDIDATE=${{ github.event.inputs.candidate }}
if [[ "$CANDIDATE" == RC ]]; then
PROJECT_VERSION=${PROJECT_VERSION}-${{ github.event.inputs.version }}
RC_VERSION = ${{ github.event.inputs.rc_version }}
if [[ "$RC_VERSION" == "" ]]; then
RC_VERSION = "RC"
fi
PROJECT_VERSION=${PROJECT_VERSION}-${RC_VERSION}
S3_PATH=RC/$PROJECT_VERSION
fi
echo "Releasing.. "$PROJECT_VERSION
Expand Down

0 comments on commit 75584be

Please sign in to comment.