Skip to content

Bump version

Bump version #6

Workflow file for this run

name: Create releases
on:
push:
tags:
- "v*"
permissions:
contents: write
actions: read
pull-requests: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true
- name: Generate changelog
run: |
bundle exec rake changelog[,${TAG_NAME}] > /tmp/changelog.md
cat /tmp/changelog.md
env:
TAG_NAME: ${{ github.ref_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: /tmp/changelog.md
- name: Slack Notification (not success)
uses: act10ns/slack@v2
if: "! success()"
continue-on-error: true
with:
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}