vagrant-zones 0.1.57 → 0.1.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint-release-and-publish-nightly.yml +72 -0
- data/.github/workflows/lint-release-and-publish.yml +1 -1
- data/CHANGELOG.md +9 -0
- data/README.md +4 -0
- data/lib/vagrant-zones/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 795ef57f913ea916413a363f06dbb9bcef30bb3b38b00cc65a9deba87a385a4b
|
4
|
+
data.tar.gz: c919a5396ee3f83f8907696e6039d5b264f6eae1e19325055ce02a4968b4a6b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27fa5b2de58f1bedb8b08b577918a47193bf4e23a63d87bbc3b27337dbd91d644477dead30b9a5ff0f0824caa461602dd92d155d0150710b24e41dc4ed6aaaf
|
7
|
+
data.tar.gz: 360e347925d053b3eb4f7da0d2352729d0bc22545029b8b7b98abaf9c1d97e4382f368837c4c7d9794603c08353a8a56b61e1804bb4937818c6e50be58b06768
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# .github/workflows/release.yml
|
2
|
+
|
3
|
+
name: Test, Lint, Release and Publish
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches:
|
8
|
+
- nightly
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
release-please:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
env:
|
14
|
+
GEM_NAME: "vagrant-zones"
|
15
|
+
steps:
|
16
|
+
- uses: google-github-actions/release-please-action@v3
|
17
|
+
id: release
|
18
|
+
with:
|
19
|
+
release-type: ruby
|
20
|
+
package-name: "${{ env.GEM_NAME }}-nightly"
|
21
|
+
bump-minor-pre-major: true
|
22
|
+
bump-patch-for-minor-pre-major: true
|
23
|
+
version-file: "lib/${{ env.GEM_NAME }}/version.rb"
|
24
|
+
default-branch: nightly
|
25
|
+
|
26
|
+
# Checkout code if release was created
|
27
|
+
- uses: actions/checkout@v2
|
28
|
+
if: ${{ steps.release.outputs.release_created }}
|
29
|
+
|
30
|
+
# Setup ruby if a release was created
|
31
|
+
- name: Set up Ruby 3.0.0
|
32
|
+
uses: ruby/setup-ruby@v1
|
33
|
+
with:
|
34
|
+
ruby-version: 3.0.0
|
35
|
+
if: ${{ steps.release.outputs.release_created }}
|
36
|
+
|
37
|
+
# Bundle install
|
38
|
+
- run: bundle install
|
39
|
+
if: ${{ steps.release.outputs.release_created }}
|
40
|
+
|
41
|
+
# Check if Passing Lint Requirements
|
42
|
+
- name: Run Rake tests
|
43
|
+
id: tests
|
44
|
+
run: bundle exec rake
|
45
|
+
if: ${{ steps.release.outputs.release_created }}
|
46
|
+
|
47
|
+
# Publish to GPR
|
48
|
+
- name: Publish to GPR
|
49
|
+
run: |
|
50
|
+
mkdir -p $HOME/.gem
|
51
|
+
touch $HOME/.gem/credentials
|
52
|
+
chmod 0600 $HOME/.gem/credentials
|
53
|
+
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
54
|
+
gem build *.gemspec
|
55
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
56
|
+
env:
|
57
|
+
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
58
|
+
OWNER: ${{ github.repository_owner }}
|
59
|
+
if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
|
60
|
+
|
61
|
+
# Publish to Ruby Gems
|
62
|
+
- name: Publish to RubyGems
|
63
|
+
run: |
|
64
|
+
mkdir -p $HOME/.gem
|
65
|
+
touch $HOME/.gem/credentials
|
66
|
+
chmod 0600 $HOME/.gem/credentials
|
67
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
68
|
+
gem build *.gemspec
|
69
|
+
gem push *.gem
|
70
|
+
env:
|
71
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
72
|
+
if: steps.tests.outputs.exit_code == 0 && steps.release.outputs.release_created
|
@@ -20,7 +20,7 @@ jobs:
|
|
20
20
|
package-name: ${{ env.GEM_NAME }}
|
21
21
|
bump-minor-pre-major: true
|
22
22
|
bump-patch-for-minor-pre-major: true
|
23
|
-
version-file: lib/
|
23
|
+
version-file: "lib/${{ env.GEM_NAME }}/version.rb"
|
24
24
|
|
25
25
|
# Checkout code if release was created
|
26
26
|
- uses: actions/checkout@v2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.58](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.57...v0.1.58) (2022-12-10)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* default branch ([b8593dd](https://github.com/STARTcloud/vagrant-zones/commit/b8593dd0b4b758ac6884b54eb58c190c41b17359))
|
9
|
+
* include nightly releases ([d098644](https://github.com/STARTcloud/vagrant-zones/commit/d0986443f42ce21a8384dd7672c4c14a897954e2))
|
10
|
+
* nightly releases ([95ab672](https://github.com/STARTcloud/vagrant-zones/commit/95ab672ce0a3434c624072dc5e2c37935fb0f89d))
|
11
|
+
|
3
12
|
## [0.1.57](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.56...v0.1.57) (2022-12-10)
|
4
13
|
|
5
14
|
|
data/README.md
CHANGED
@@ -47,6 +47,10 @@ Publiched Package locations:
|
|
47
47
|
To install it in a standard vagrant environment:
|
48
48
|
|
49
49
|
`vagrant plugin install vagrant-zones`
|
50
|
+
|
51
|
+
To install it in a development vagrant environment:
|
52
|
+
|
53
|
+
`vagrant plugin install vagrant-zones-nightly`
|
50
54
|
|
51
55
|
## Contributing
|
52
56
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-zones
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Gilbert
|
@@ -305,6 +305,7 @@ files:
|
|
305
305
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
306
306
|
- ".github/dependabot.yml"
|
307
307
|
- ".github/workflows/codeql-analysis.yml"
|
308
|
+
- ".github/workflows/lint-release-and-publish-nightly.yml"
|
308
309
|
- ".github/workflows/lint-release-and-publish.yml"
|
309
310
|
- ".github/workflows/ruby-lint.yml"
|
310
311
|
- ".gitignore"
|