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

Commit

Permalink
Merge pull request #2 from radixdlt/fix-release-branch
Browse files Browse the repository at this point in the history
fix release branch
  • Loading branch information
rvelaz authored May 20, 2021
2 parents 5faec9c + 111b6a4 commit 4d9502c
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,27 @@ on:
- main

jobs:
changelog:
name: Update changelog
runs-on: ubuntu-latest
steps:
- name: update changelog
uses: heinrichreimer/github-changelog-generator-action@v2.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
issues: true
issuesWoLabels: true
pullRequests: true
prWoLabels: true
unreleased: true
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Changelog for PR
file_pattern: CHANGELOG.md

version:
name: Bump version and push tag
needs: changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,7 +35,7 @@ jobs:
with:
default_bump: patch
tag_prefix: ""
release_branches: ci/publish-packages
release_branches: main
github_token: ${{ secrets.RADIXBOT_GITHUB_REPO_PACKAGES_TOKEN }}
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,17 +67,6 @@ jobs:
uses: skjolber/maven-cache-github-action@v1
with:
step: save

changelog:
name: Update changelog
runs-on: ubuntu-latest
needs: version
steps:
- name: update changelog
uses: heinrichreimer/github-changelog-generator-action@v2.2
with:
token: ${{ secrets.GITHUB_TOKEN }}

publish-npm:
runs-on: ubuntu-latest
needs: version
Expand Down

0 comments on commit 4d9502c

Please sign in to comment.