Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 974f120

Browse files
committed
Use hyphen instead of dots for version
1 parent 7376676 commit 974f120

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎package.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@ CHKSUM=`sha256sum $FILENAME | awk '{ print 1ドル }'`
8080
SIZE=`wc -c $FILENAME | awk '{ print 1ドル }'`
8181
FLAVOUR_TAG=${FLAVOUR^^}_
8282
FLAVOUR_NAME=${FLAVOUR,,}
83+
VERSION_NAME=${VERSION//./-}
8384

8485
cat ArduinoCore-mbed/extras/mbed_$FLAVOUR_NAME-tag.template.json |
8586
sed "s/%%VERSION%%/${VERSION}/" |
8687
sed "s/%%${FLAVOUR_TAG}FILENAME%%/${FILENAME}/" |
8788
sed "s/%%${FLAVOUR_TAG}CHECKSUM%%/${CHKSUM}/" |
88-
sed "s/%%${FLAVOUR_TAG}SIZE%%/${SIZE}/" > mbed_$FLAVOUR_NAME-$VERSION.json
89+
sed "s/%%${FLAVOUR_TAG}SIZE%%/${SIZE}/" > mbed_$FLAVOUR_NAME-$VERSION_NAME.json
8990

9091
cd -

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /