Skip to content

Commit

Permalink
chore(ci): try to fix 'ship-it' job
Browse files Browse the repository at this point in the history
after github_changelog_generator bump, we cannot use '--since-tag' when tag does not exist so we use 'unreleased-only' option as replacement.
  • Loading branch information
o-orand committed Mar 16, 2020
1 parent fb336f7 commit bfde294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ jobs:
RELEASE_VERSION=$(cat version/version)
git clone cf-ops-automation cf-ops-automation-changelog
cd cf-ops-automation-changelog/
echo "Github changelog generator version: $(bundle exec github_changelog_generator --version)"
bundle exec github_changelog_generator --no-author --future-release "v${RELEASE_VERSION}"
mkdir -p docs/features/
bundle exec cucumber -f html --out docs/features/features.html -f pretty --out docs/features/features.md -f pretty --no-color --no-source
Expand Down Expand Up @@ -501,7 +502,8 @@ jobs:
RELEASE_VERSION=$(cat ../version/version)
OUTPUT_DIR="../github-info"
OUTPUT_FILE="${OUTPUT_DIR}/github_release.md"
bundle exec github_changelog_generator --no-author -o ${OUTPUT_FILE} --header-label "**Release notes**" --future-release "v${RELEASE_VERSION}" --since-tag "v${RELEASE_VERSION}"
echo "Github changelog generator version: $(bundle exec github_changelog_generator --version)"
bundle exec github_changelog_generator --no-author -o ${OUTPUT_FILE} --header-label "**Release notes**" --future-release "v${RELEASE_VERSION}" --unreleased-only
cd ${OUTPUT_DIR}
tar czvf cf-ops-automation.tgz ../cf-ops-automation
params:
Expand Down

0 comments on commit bfde294

Please sign in to comment.