File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,15 @@ jobs:
7070
7171 - name : Set tag
7272 run : |
73- if [[ "${{ inputs.latest-build }}" != "true" ]]; then
74- echo "TAG=audio-api-nightly" >> $GITHUB_ENV
75- else if [[ "${{ inputs.old-version-patch }}" == "true" ]]; then
73+ if [[ "${{ inputs.old-version-patch }}" == "true" ]]; then
7674 CURRENT_VERSION=$(npm view react-native-audio-api version | cut -d. -f1,2)
7775 if [[ "$CURRENT_VERSION" == "${{ env.TRUNKATED_VERSION }}" ]]; then
7876 echo "Old version patch requested but current published version matches package version. Exiting."
7977 exit 1
8078 fi
8179 echo "TAG=rn-audio-api-$TRUNKATED_VERSION" >> $GITHUB_ENV
80+ else if [[ "${{ inputs.latest-build }}" != "true" ]]; then
81+ echo "TAG=audio-api-nightly" >> $GITHUB_ENV
8282 else
8383 echo "TAG=latest" >> $GITHUB_ENV
8484 fi
You can’t perform that action at this time.
0 commit comments