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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f179eca101f5089f27be964a69d56f54519be24f
4
- data.tar.gz: 48854e79435d079fe6fc689334e8b9b1c6384ead
3
+ metadata.gz: 622b6aa485cb00e1abc38cf8358e7603302e9cd5
4
+ data.tar.gz: 873c173bd9c95a5f9920be69293bc718772161c3
5
5
  SHA512:
6
- metadata.gz: fbfedf4988898b7fdc1f85a9e68f95fa54e85de0b9bebb163ba114ae9afcaab897014fde11f9075d0a108d1755a7e0e4bcd1d6d22108fec3c7c3d3042ff69439
7
- data.tar.gz: 4d12fd2ac71d5c9a832dac137e9bd92e1a51d35ae8edea6a71395ae6b633997e7116ccd8997113e12f5dbf29d9819fc6bf2c9317d5c1617825308719a690019e
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
- # Tag the release
36
- git tag "$TAG"
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!"
@@ -1,3 +1,3 @@
1
1
  module GitNotifiedOnTrello
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_notified_on_trello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Johnson