cvx_test_push 0.1.3 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +2 -41
- data/lib/cvx_test_push/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b634e5b315c02b7c8c3f6cea13210ea2520756534f1a57303f504a7711477c6f
|
4
|
+
data.tar.gz: 1d229ce09ef0c8d124e1a1fdfa40f0785eb030581b8bff11ea07bb75485a7c88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0b5a834bc6c38ad2f41b895d06bf1785c01d03b2d9d095ffca1d51ad3d0701c82826df77980e3345bc37679349dbc648320c7a75f3bc7e2989af6e9511e33c9
|
7
|
+
data.tar.gz: e984d49a71e0a5887eebdd5892218df1e9d42db06ff5e7155e4e9b494af1d12953935004e006fd6a838c142ca31f8280cbb53e31e6c243f50894ce964496f446
|
data/.github/workflows/main.yml
CHANGED
@@ -13,46 +13,7 @@ jobs:
|
|
13
13
|
steps:
|
14
14
|
- uses: actions/checkout@v2
|
15
15
|
|
16
|
-
- name:
|
17
|
-
|
18
|
-
run: echo "::set-output name=version::$(ruby -r rubygems -e "puts Gem::Specification::load('$(ls *.gemspec)').version")"
|
19
|
-
|
20
|
-
- name: other thingy
|
21
|
-
id: tag-exists
|
22
|
-
run: echo "::set-output name=bool::$(if git rev-parse "v${{ steps.gem-version.outputs.version }}" >/dev/null 2>&1; then echo 'true'; else echo 'false'; fi)"
|
23
|
-
|
24
|
-
- name: Stuff
|
16
|
+
- name: Release Gem
|
17
|
+
uses: discourse/publish-rubygems-action@version2
|
25
18
|
env:
|
26
19
|
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
27
|
-
if: steps.tag-exists.outputs.bool == 'false'
|
28
|
-
run: |
|
29
|
-
echo "Setting up gem credentials..."
|
30
|
-
set +x
|
31
|
-
mkdir -p ~/.gem
|
32
|
-
|
33
|
-
cat << EOF > ~/.gem/credentials
|
34
|
-
---
|
35
|
-
:github: Bearer ${GITHUB_TOKEN}
|
36
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
37
|
-
EOF
|
38
|
-
|
39
|
-
chmod 0600 ~/.gem/credentials
|
40
|
-
set -x
|
41
|
-
|
42
|
-
echo "Installing dependencies..."
|
43
|
-
gem update bundler
|
44
|
-
bundle install
|
45
|
-
|
46
|
-
git config --global user.email "automated@example.com"
|
47
|
-
git config --global user.name "Automated Release"
|
48
|
-
|
49
|
-
echo "Running gem release task..."
|
50
|
-
release_command="${RELEASE_COMMAND:-rake release}"
|
51
|
-
exec $release_command
|
52
|
-
|
53
|
-
# - name: Release Gem
|
54
|
-
# uses: discourse/publish-rubygems-action@v1
|
55
|
-
# env:
|
56
|
-
# RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
57
|
-
# RELEASE_COMMAND: |
|
58
|
-
# echo 1 && git config --global user.email "automated@example.com" && git config --global user.name "Automated Release" && bundle exec rake release
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cvx_test_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jarek Radosz
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email:
|
15
15
|
- jradosz@gmail.com
|
16
16
|
executables: []
|
@@ -27,10 +27,10 @@ files:
|
|
27
27
|
- cvx_test_push.gemspec
|
28
28
|
- lib/cvx_test_push.rb
|
29
29
|
- lib/cvx_test_push/version.rb
|
30
|
-
homepage:
|
30
|
+
homepage:
|
31
31
|
licenses: []
|
32
32
|
metadata: {}
|
33
|
-
post_install_message:
|
33
|
+
post_install_message:
|
34
34
|
rdoc_options: []
|
35
35
|
require_paths:
|
36
36
|
- lib
|
@@ -45,8 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
|
-
rubygems_version: 3.1.
|
49
|
-
signing_key:
|
48
|
+
rubygems_version: 3.1.4
|
49
|
+
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: A test of automatic gem publishing and version tagging
|
52
52
|
test_files: []
|