-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #328 from bastelfreak/rel323
Release 3.3.0
- Loading branch information
Showing
8 changed files
with
86 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
name: Release | ||
|
||
on: | ||
create: | ||
ref_type: tag | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'voxpupuli/hiera-eyaml' | ||
env: | ||
BUNDLE_WITHOUT: release | ||
if: github.repository_owner == 'voxpupuli' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Ruby 2.7 | ||
- name: Install Ruby 3.1 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.7' | ||
ruby-version: '3.1' | ||
- name: Build gem | ||
run: gem build *.gemspec | ||
- name: Publish gem | ||
- name: Publish gem to rubygems.org | ||
run: gem push *.gem | ||
env: | ||
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}' | ||
- name: Setup GitHub packages access | ||
run: | | ||
mkdir -p ~/.gem | ||
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials | ||
chmod 0600 ~/.gem/credentials | ||
- name: Publish gem to GitHub packages | ||
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ Gem::Specification.new do |gem| | |
gem.version = Hiera::Backend::Eyaml::VERSION | ||
gem.description = "Hiera backend for decrypting encrypted yaml properties" | ||
gem.summary = "OpenSSL Encryption backend for Hiera" | ||
gem.author = "Tom Poulton" | ||
gem.author = "Vox Pupuli" | ||
gem.email = "[email protected]" | ||
gem.license = "MIT" | ||
|
||
gem.homepage = "https://github.com/voxpupuli/hiera-eyaml/" | ||
|
@@ -19,4 +20,6 @@ Gem::Specification.new do |gem| | |
|
||
gem.add_dependency('optimist') | ||
gem.add_dependency('highline') | ||
|
||
gem.required_ruby_version = '>= 2.5.0', ' < 4' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters