-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,18 +18,19 @@ jobs: | |
with: | ||
bundler-cache: true | ||
|
||
- name: Prep environment | ||
- name: Prep Environment | ||
run: | | ||
bundle config set --local with 'release' | ||
bundle install | ||
mkdir -p build | ||
- name: Gen changelog | ||
- uses: younited/[email protected] | ||
id: get-previous-tag | ||
|
||
- name: Generate Changelog | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: | | ||
PTAG=$(git describe --abbrev=0 --tags --exclude="$(git describe --abbrev=0 --tags)") | ||
bundle exec github_changelog_generator --user ${{ github.repository_owner }} --project "gha-test-repo" --since-tag ${PTAG} --future-release ${{ github.ref_name }} --output build/changelog.md | ||
run: bundle exec github_changelog_generator --user ${{ github.repository_owner }} --project "gha-test-repo" --since-tag ${{ steps.get-previous-tag.outputs.previous-tag }} --future-release ${{ github.ref_name }} --output build/changelog.md | ||
|
||
- name: Create Release | ||
env: | ||
|