labelizer 0.999.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/labelizer/version.rb +1 -1
- data/version-dump.sh +7 -6
- metadata +1 -2
- data/version.txt +0 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTcyOGY3YzU1ZTQwZTBlYzM1OWU0M2M4MzcwYzFkYzdjMTc0MzIyZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGYwMzgyMDFmNmRjMjg3NTFiYzFhNmVlNWU5OTVkODJlYWI1NWRkYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTUzMDNiMDgyYTJjZDY5ZTEzM2FjYjBhNGRlYWI3NjBjMjdhOGEyODVjY2M1
|
10
|
+
ZDFiOTE3OGFiOTlhMTYxYzM4MmFkMThhNDdmNzM1MDE1Y2NiZDM2YmE4OWRm
|
11
|
+
ZWZhMjI2ZjNlZDc2ZmMwNzA0Mzc5Yjg5YTQwYzJiZmVjODczODY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjhhYTc1ZmY3MTgzZGZiZWUxNTMzYjM2MzJhNzE2Y2QxODJkNGNlNWFmNDc1
|
14
|
+
NjQyMzY3Y2ZjMGQ5OTE3YzBmNjhiMWQwY2U0ZjAxMjY2ZDI3YjQ3YmE3Mjcy
|
15
|
+
Y2NmNjM2ZTJmYjVlYjlhZGI5MTc4OTg2ZWI0ODRkNGI1NmI1MWY=
|
data/lib/labelizer/version.rb
CHANGED
data/version-dump.sh
CHANGED
@@ -7,15 +7,17 @@ if [ -z "$mode" ]; then
|
|
7
7
|
mode=patch
|
8
8
|
fi
|
9
9
|
|
10
|
-
version_file=version.txt
|
11
10
|
version_rb=lib/labelizer/version.rb
|
12
|
-
|
11
|
+
|
12
|
+
release_version_prefix="version dump: "
|
13
|
+
current_version=$(git log --format="%s" --grep="$release_version_prefix" | head -1)
|
14
|
+
current_version=${current_version#$release_version_prefix}
|
13
15
|
|
14
16
|
git fetch --tags
|
15
17
|
current_tag=$(git tag | tail -1)
|
16
18
|
|
17
19
|
if [ "v$current_version" != "$current_tag" ]; then
|
18
|
-
read -p "
|
20
|
+
read -p "curent: '$current_version', tag: '$current_tag'. continue? [Y/n] " confirm
|
19
21
|
case $confirm in
|
20
22
|
Y*|y*)
|
21
23
|
;;
|
@@ -25,14 +27,13 @@ if [ "v$current_version" != "$current_tag" ]; then
|
|
25
27
|
esac
|
26
28
|
fi
|
27
29
|
|
28
|
-
version_build_next "$mode" $
|
30
|
+
version_build_next "$mode" $current_version
|
29
31
|
|
30
32
|
read -p "dump version: $version. OK? [Y/n] " confirm
|
31
33
|
case $confirm in
|
32
34
|
Y*|y*)
|
33
|
-
echo $version > $version_file
|
34
35
|
sed -i 's/VERSION.*/VERSION = "'$version'"/' $version_rb
|
35
|
-
git add $
|
36
|
+
git add $version_rb && git commit -m "version dump: $version"
|
36
37
|
;;
|
37
38
|
*)
|
38
39
|
exit 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: labelizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shun
|
@@ -115,7 +115,6 @@ files:
|
|
115
115
|
- lib/labelizer/version.rb
|
116
116
|
- release.sh
|
117
117
|
- version-dump.sh
|
118
|
-
- version.txt
|
119
118
|
homepage: https://github.com/getto-systems/labelizer
|
120
119
|
licenses:
|
121
120
|
- MIT
|
data/version.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.999.0
|