Skip to content

Commit

Permalink
ci(release): add release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
yunielrc committed Sep 27, 2023
1 parent d29e776 commit cc2db1e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
- name: Run Unit Tests
run: make -f Makefile.vedv test-all

# release-please:
# needs: test
# name: Release Please
# runs-on: ubuntu-22.04

# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

# steps:
# - uses: google-github-actions/release-please-action@v3
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# release-type: simple
# package-name: release-please-action
# prerelease: true
release-please:
needs: test
name: Release Please
runs-on: ubuntu-22.04

if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

steps:
- uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
package-name: release-please-action
prerelease: true
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0

0 comments on commit cc2db1e

Please sign in to comment.