Merge pull request #209 from puppetlabs/fix-release-prep-param

(maint) Fix missing param in auto_release_prep
This commit is contained in:
Jake Spain 2024-01-19 16:48:17 -05:00 committed by GitHub
commit b388bc5f48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -8,4 +8,5 @@ jobs:
uses: puppetlabs/release-engineering-repo-standards/.github/workflows/auto_release_prep.yml@v1 uses: puppetlabs/release-engineering-repo-standards/.github/workflows/auto_release_prep.yml@v1
secrets: inherit secrets: inherit
with: with:
project-type: ruby
version-file-path: lib/vmfloaty/version.rb version-file-path: lib/vmfloaty/version.rb

View file

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# bundle install # bundle install
docker run -it --rm \ docker run -t --rm \
-v $(pwd):/app \ -v $(pwd):/app \
$(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \ $(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends build-essential make openssh-client && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"' /bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends build-essential make openssh-client && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'
# Update Changelog # Update Changelog
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \ docker run -t --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
githubchangeloggenerator/github-changelog-generator:1.16.2 \ githubchangeloggenerator/github-changelog-generator:1.16.2 \
github_changelog_generator --future-release $(grep VERSION lib/vmfloaty/version.rb |rev |cut -d "'" -f2 |rev) github_changelog_generator --future-release $(grep VERSION lib/vmfloaty/version.rb |rev |cut -d "'" -f2 |rev)