8000 Updated publish script · java64/ArduinoJson@e5c4778 · GitHub
[go: up one dir, main page]

Skip to content

Commit e5c4778

Browse files
committed
Updated publish script
1 parent 2ec9569 commit e5c4778

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/publish.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -eux
3+
set -eu
44

55
cd "$(dirname "$0")/.."
66

@@ -36,9 +36,14 @@ commit_new_version () {
3636

3737
add_tag () {
3838
CHANGES=$(awk '/\* /{ FOUND=1; print; next } { if (FOUND) exit}' CHANGELOG.md)
39-
git tag -m "ArduinoJson $VERSION\n$CHANGES" $TAG
39+
git tag -m "ArduinoJson $VERSION"$'\n'"$CHANGES" "$TAG"
40+
}
41+
42+
push () {
43+
git push --follow-tags
4044
}
4145

4246
update_version_in_source
4347
commit_new_version
4448
add_tag
49+
push

0 commit comments

Comments
 (0)
0