Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes

changelog:
exclude:
labels:
- duplicate
- invalid
- modulesync
- question
- skip-changelog
- wont-fix
- wontfix
- github_actions

categories:
- title: Breaking Changes 🛠
labels:
- backwards-incompatible

- title: New Features 🎉
labels:
- enhancement

- title: Bug Fixes 🐛
labels:
- bug
- bugfix

- title: Documentation Updates 📚
labels:
- documentation
- docs

- title: Dependency Updates ⬆️
labels:
- dependencies

- title: Other Changes
labels:
- "*"
108 changes: 91 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,106 @@
name: Release
---
name: Gem Release

on:
push:
tags:
- '*'

permissions: {}

jobs:
release:
runs-on: ubuntu-latest
build-release:
# Prevent releases from forked repositories
if: github.repository_owner == 'voxpupuli'
name: Build the gem
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install Ruby 3.3
- uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
env:
BUNDLE_WITHOUT: release:development:rubocop
ruby-version: 'ruby'
- name: Build gem
run: gem build --strict --verbose *.gemspec
shell: bash
run: gem build --verbose *.gemspec
- name: Upload gem to GitHub cache
uses: actions/upload-artifact@v4
with:
name: gem-artifact
path: '*.gem'
retention-days: 1
compression-level: 0

create-github-release:
needs: build-release
name: Create GitHub release
runs-on: ubuntu-24.04
permissions:
contents: write # clone repo and create release
steps:
- name: Download gem from GitHub cache
uses: actions/download-artifact@v5
with:
name: gem-artifact
- name: Create Release
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem

release-to-github:
needs: build-release
name: Release to GitHub
runs-on: ubuntu-24.04
permissions:
packages: write # publish to rubygems.pkg.github.com
steps:
- name: Download gem from GitHub cache
uses: actions/download-artifact@v5
with:
name: gem-artifact
- name: Publish gem to GitHub packages
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
env:
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}

release-to-rubygems:
needs: build-release
name: Release gem to rubygems.org
runs-on: ubuntu-24.04
environment: release # recommended by rubygems.org
permissions:
id-token: write # rubygems.org authentication
steps:
- name: Download gem from GitHub cache
uses: actions/download-artifact@v5
with:
name: gem-artifact
- uses: rubygems/configure-rubygems-credentials@v1.0.0
- name: Publish gem to rubygems.org
shell: bash
run: gem push *.gem
env:
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
- name: Setup GitHub packages access

release-verification:
name: Check that all releases are done
runs-on: ubuntu-24.04
permissions:
contents: read # minimal permissions that we have to grant
needs:
- create-github-release
- release-to-github
- release-to-rubygems
steps:
- name: Download gem from GitHub cache
uses: actions/download-artifact@v5
with:
name: gem-artifact
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 'ruby'
- name: Wait for release to propagate
shell: bash
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
gem install rubygems-await
gem await *.gem
19 changes: 13 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [2.0.0](https://github.com/voxpupuli/beaker-vagrant/tree/2.0.0) (2025-08-07)

[Full Changelog](https://github.com/voxpupuli/beaker-vagrant/compare/1.4.0...2.0.0)

**Breaking changes:**

- Require Ruby 3.2 or newer [\#95](https://github.com/voxpupuli/beaker-vagrant/pull/95) ([bastelfreak](https://github.com/bastelfreak))

**Implemented enhancements:**

- beaker: Allow 7.x [\#93](https://github.com/voxpupuli/beaker-vagrant/pull/93) ([bastelfreak](https://github.com/bastelfreak))
- Increase defaults to 2 CPU cores/2G ram [\#90](https://github.com/voxpupuli/beaker-vagrant/pull/90) ([bastelfreak](https://github.com/bastelfreak))

## [1.4.0](https://github.com/voxpupuli/beaker-vagrant/tree/1.4.0) (2024-05-28)

[Full Changelog](https://github.com/voxpupuli/beaker-vagrant/compare/1.3.0...1.4.0)
Expand Down Expand Up @@ -193,7 +206,6 @@

**Merged pull requests:**

- \(maint\) add support for extra vmware configuration [\#14](https://github.com/voxpupuli/beaker-vagrant/pull/14) ([lmayorga1980](https://github.com/lmayorga1980))
- Bugfix: Issue with user given invalid keys for synced folders [\#9](https://github.com/voxpupuli/beaker-vagrant/pull/9) ([cardil](https://github.com/cardil))

## [0.4.0](https://github.com/voxpupuli/beaker-vagrant/tree/0.4.0) (2018-02-22)
Expand All @@ -219,7 +231,6 @@
**Merged pull requests:**

- Improve documentation on volumes support [\#11](https://github.com/voxpupuli/beaker-vagrant/pull/11) ([beezly](https://github.com/beezly))
- add support for ioapic for virtualbox [\#10](https://github.com/voxpupuli/beaker-vagrant/pull/10) ([lmayorga1980](https://github.com/lmayorga1980))

## [0.2.0](https://github.com/voxpupuli/beaker-vagrant/tree/0.2.0) (2018-01-09)

Expand All @@ -233,10 +244,6 @@

[Full Changelog](https://github.com/voxpupuli/beaker-vagrant/compare/0.1.0...0.1.1)

**Merged pull requests:**

- add support for download\_insecure config [\#5](https://github.com/voxpupuli/beaker-vagrant/pull/5) ([lmayorga1980](https://github.com/lmayorga1980))

## [0.1.0](https://github.com/voxpupuli/beaker-vagrant/tree/0.1.0) (2017-07-14)

[Full Changelog](https://github.com/voxpupuli/beaker-vagrant/compare/d9545ba78c5d9ef827503c047fb7efd482734dbf...0.1.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/beaker-vagrant/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module BeakerVagrant
VERSION = '1.4.0'
VERSION = '2.0.0'
end