Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
build: auto-create tags and releases
Browse files Browse the repository at this point in the history
  • Loading branch information
danilogco committed May 29, 2022
1 parent 6fa5322 commit 3c03d2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ jobs:
- name: Build the Gem
run: gem build ${{ steps.vars.outputs.project_name }}.gemspec
- name: Push to the RubyGems
continue-on-error: true
run: gem push ${{ steps.vars.outputs.project_name }}-${{ steps.vars.outputs.project_version }}.gem
- name: Push to the GitHub repository
continue-on-error: true
run: gem push --key github --host https://rubygems.pkg.github.com/dcotecnologia ${{ steps.vars.outputs.project_name }}-${{ steps.vars.outputs.project_version }}.gem
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.vars.outputs.project_version }}
name: v${{ steps.vars.outputs.project_version }}
bodyFile: "CHANGELOG.md"
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3c03d2c

Please sign in to comment.