Skip to content

Commit

Permalink
Merge pull request #6 from bastelfreak/rel010
Browse files Browse the repository at this point in the history
Release 0.1.0
  • Loading branch information
bastelfreak authored Jun 23, 2023
2 parents f81b064 + 6e6f94e commit 39820e6
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
tags:
- '*'

jobs:
release:
# https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
permissions:
packages: write
contents: read
runs-on: ubuntu-latest
if: github.repository_owner == 'betadots'
steps:
- uses: actions/checkout@v3
- name: Install Ruby 3.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
env:
BUNDLE_WITHOUT: release:development:rubocop
- name: Build gem
run: gem build --strict --verbose *.gemspec
- 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/betadots *.gem
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project will be documented in this file.

## [v0.1.0](https://github.com/betadots/smart_proxy_hdm/tree/v0.1.0) (2023-06-23)

[Full Changelog](https://github.com/betadots/smart_proxy_hdm/compare/c382a2fad93c4c7db80a790b2877625eb1ad43a4...v0.1.0)

**Merged pull requests:**

- Introduce rubocop [\#5](https://github.com/betadots/smart_proxy_hdm/pull/5) ([bastelfreak](https://github.com/bastelfreak))
- Set Ruby 2.7 as minimal version [\#4](https://github.com/betadots/smart_proxy_hdm/pull/4) ([bastelfreak](https://github.com/bastelfreak))
- Add changelog generator [\#3](https://github.com/betadots/smart_proxy_hdm/pull/3) ([bastelfreak](https://github.com/bastelfreak))
- Add basic CI matrix & dependencies: Add strict version boundaries [\#2](https://github.com/betadots/smart_proxy_hdm/pull/2) ([bastelfreak](https://github.com/bastelfreak))
- Add dependabot configuration [\#1](https://github.com/betadots/smart_proxy_hdm/pull/1) ([bastelfreak](https://github.com/bastelfreak))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rescue LoadError
# github_changelog_generator is an optional group
else
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
version = Voxpupuli::Release::VERSION
version = Proxy::Hdm::VERSION
config.future_release = "v#{version}" if /^\d+\.\d+.\d+$/.match?(version)
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
Expand Down

0 comments on commit 39820e6

Please sign in to comment.