Skip to content

Commit bd0df9c

Browse files
committed
Update release script
1 parent b98819b commit bd0df9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release_toolchain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ LOCAL_ARTIFACTNAME=$(basename ${ARTIFACTBUNDLE} .tar.gz)
4646
SDKNAME=$(echo ${SDKNAME} | sed 's;-RELEASE$;;g')
4747

4848
# the swiftly name for the SDK release
49-
SWIFTLY_NAME=$(echo "${SDKNAME}" | tr '[A-Z]' '[a-z]' | sed 's;-development-snapshot-;-snapshot-;g' | sed 's;development-snapshot-;main-snapshot-;g')
49+
SWIFTLY_NAME=$(echo "${SDKNAME}" | tr '[A-Z]' '[a-z]' | sed 's;-development-snapshot-;-snapshot-;g' | sed 's;development-snapshot-;main-snapshot-;g' | sed 's;-a-.*;-a;g')
5050

5151
echo "$PROG: Creating release for SDK: $SDKNAME"
5252

5353
NOTES_FILE=$(mktemp)
5454
cat > ${NOTES_FILE} << EOF
5555
### Installing the Swift Android SDK
5656
57-
First install the matching Swift \`${SDKNAME}\` toolchain from https://swift.org/download/#releases and add it to your PATH, or by using [swiftly](https://www.swift.org/install/):
57+
First install the matching Swift \`${SWIFTLY_NAME}\` toolchain from https://swift.org/download/#releases and add it to your PATH, or by using [swiftly](https://www.swift.org/install/):
5858
5959
\`\`\`
6060
swiftly install ${SWIFTLY_NAME}

0 commit comments

Comments
 (0)