Skip to content

Merge pull request #2 from betadots/dependabot/docker/alpine-3.19 #10

Merge pull request #2 from betadots/dependabot/docker/alpine-3.19

Merge pull request #2 from betadots/dependabot/docker/alpine-3.19 #10

Workflow file for this run

---
on:
push:
tags:
- '*'
name: Release 🚀
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
- name: Make release
env:
GH_TOKEN: ${{ github.token }}
run: |
bundle config set --local with 'release'
bundle install
mkdir -p build
bundle exec github_changelog_generator \
--user ${{ github.repository_owner }} \
--project "gha-test-repo" \
--since-tag ${{ steps.previoustag.outputs.tag }} \
--output build/changelog.md
gh release create ${{ github.ref_name }} --notes-file build/changelog.md --title "Release ${{ github.ref_name }}"