pact_broker-client 1.27.11 → 1.27.12

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
  SHA256:
3
- metadata.gz: 554cb53fbdc14d887b07e5ab46b58626e7925c6284f40a0b02562cbcc33a9846
4
- data.tar.gz: a9d5183cb1895f59e1f1ea8df2f4a54722faae632ccbb095dd6b1d83d75bf9b0
3
+ metadata.gz: a8b7293d13c1b8274a3e5b1539088fecd822bfcae6625e233fab0988748ca463
4
+ data.tar.gz: db61c92b35a0768dfaff43dd0293d8c6c8b209a898b8f4ca953e73d34d5865bb
5
5
  SHA512:
6
- metadata.gz: 5c384c29a6e02f677542a2a77432cf21c8917c1ca02cf5eaa7671db2b890553215d7bc7dbd723a9188a93e0148748fe6e05af356b6dc4990718866e9d227e17c
7
- data.tar.gz: dc543e449c4fe6019aae6eca24d86f93801b211e07342b6ebf3216e50c39df8c23f6a48faac77686b1278adc39eff657fb8e9272e5ad1bff72636456bf5372f9
6
+ metadata.gz: 16b27e7aa817e590cdfb9a3cd3156e511d43cc5259bf79d76a392b37b9289dc9bbd49cc3cc50c4b2ccb6380553706bac0c01f97190e560595f44473b1294679c
7
+ data.tar.gz: 5313e3c17a59c42c3a828425b046435b69156050087b1d6c184be058deecb61eee3f5678be060acbfc957a51b734dac226cc62cd67bf9509977cae3710890f86
@@ -35,6 +35,8 @@ jobs:
35
35
  script/release-gem.sh
36
36
  env:
37
37
  GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
38
+ - name: Prepare Github Release
39
+ run: script/prepare-github-release.sh
38
40
  - name: Create Github Release
39
41
  uses: actions/create-release@v1
40
42
  env:
@@ -42,3 +44,4 @@ jobs:
42
44
  with:
43
45
  tag_name: ${{ env.TAG }}
44
46
  release_name: ${{ env.TAG }}
47
+ both_path: tmp/RELEASE_NOTES.md
@@ -1,7 +1,7 @@
1
1
  name: Trigger release of the pact-cli Docker image
2
2
  on:
3
3
  release:
4
- types: [created]
4
+ types: [published]
5
5
 
6
6
  jobs:
7
7
  build:
@@ -1,5 +1,5 @@
1
1
  module PactBroker
2
2
  module Client
3
- VERSION = '1.27.11'
3
+ VERSION = '1.27.12'
4
4
  end
5
5
  end
@@ -0,0 +1,7 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ tag=$(cat CHANGELOG.md | grep "#" | head -n 1 | cut -d' ' -f2)
5
+ mkdir -p tmp
6
+ git diff CHANGELOG.md | grep "^+" | grep -v "b/CHANGELOG.md" | sed 's/^+//g' > tmp/RELEASE_NOTES.md
7
+ echo "::set-env name=TAG::${tag}"
@@ -9,5 +9,4 @@ version_file=$(bundle exec bump file --value-only)
9
9
  version=$(bundle exec bump current --value-only)
10
10
  git add CHANGELOG.md "${version_file}"
11
11
  git commit -m "chore(release): version ${version}"
12
- tag=$(cat CHANGELOG.md | grep "#" | head -n 1 | cut -d' ' -f2)
13
- echo "::set-env name=TAG::${tag}"
12
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact_broker-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.11
4
+ version: 1.27.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beth Skurrie
@@ -218,6 +218,7 @@ files:
218
218
  - pact-broker-client.gemspec
219
219
  - script/api_key_test.rb
220
220
  - script/generate-cli-usage.sh
221
+ - script/prepare-github-release.sh
221
222
  - script/prepare-release.sh
222
223
  - script/publish-pact.sh
223
224
  - script/release-gem.sh