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 4e9bbe8

Browse files
bump dist to 1.1.2
1 parent 40e7aa8 commit 4e9bbe8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎publish

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
4+
if [ -z "1ドル" ]
5+
then
6+
echo "You MUST supply a version number"
7+
exit 1
8+
fi
9+
10+
message=${2:-bump}
11+
12+
13+
sed -E "s/\"version\": \".+\",/\"version\": \"${1}\",/" library.json
14+
sed -E "s/version=.+/version=${1}/" library.properties
15+
git add .
16+
git commit -m "bump dist to ${1}"
17+
git tag -a 1ドル -m $message
18+
git push origin master -f
19+
git push origin 1ドル -f

0 commit comments

Comments
(0)

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