git_notified_on_trello 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deploy.sh +8 -4
- data/lib/git_notified_on_trello/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 622b6aa485cb00e1abc38cf8358e7603302e9cd5
|
4
|
+
data.tar.gz: 873c173bd9c95a5f9920be69293bc718772161c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bc3707935f232f1e2757d999918ff3c4526bf923ebf4f6577e9bcf25d40082a70b28c8ec87693ec77fe99ac5104334d4bc03ce5ca3df1ae0f29b598ee70ac0e
|
7
|
+
data.tar.gz: c673abc93ae5393b1f98c2cb24db0255366838dcc4c67bade41a1c6b419dd7396dd32a14054f9ac7b197988fb1164e8e9035b520bd93a5f07e361fbf8ce3c2c6
|
data/deploy.sh
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/bin/bash
|
2
|
+
set -e
|
2
3
|
|
3
4
|
VERSION_FILE="lib/git_notified_on_trello/version.rb"
|
4
5
|
|
@@ -24,6 +25,9 @@ fi
|
|
24
25
|
TAG="$VERSION.$MAJOR.$MINOR"
|
25
26
|
echo "Releasing gem with tag $TAG"
|
26
27
|
|
28
|
+
# Let's run the tests first
|
29
|
+
rake spec
|
30
|
+
|
27
31
|
# Update the version file
|
28
32
|
sed -i 's/\(.*\)VERSION = .*/\1VERSION = "'$TAG'"/' "$VERSION_FILE"
|
29
33
|
|
@@ -32,12 +36,12 @@ git add $VERSION_FILE
|
|
32
36
|
git commit -m "Release $TAG"
|
33
37
|
git push
|
34
38
|
|
35
|
-
#
|
36
|
-
|
39
|
+
# Generate the gem and send to rubygems
|
40
|
+
rake release
|
41
|
+
|
42
|
+
# Push the generated tags
|
37
43
|
git push --tags
|
38
44
|
|
39
|
-
# Make it so
|
40
|
-
rake release
|
41
45
|
|
42
46
|
|
43
47
|
echo "Done!"
|