Skip to content

Commit

Permalink
Merge pull request #245 from mhashizume/maint/main/remove-interactive
Browse files Browse the repository at this point in the history
Update release-prep script
  • Loading branch information
joshcooper committed Feb 14, 2024
2 parents caf74a0 + 2ca40f4 commit 1e75878
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion release-prep.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env bash

docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
# Update Gemfile.lock
docker run -t --rm \
-v $(pwd):/app \
ruby:3.1.4 \
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends git make netbase && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'

docker run -t --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
githubchangeloggenerator/github-changelog-generator:1.16.2 \
github_changelog_generator --future-release $(grep VERSION lib/beaker-puppet/version.rb |rev |cut -d "'" -f 2 |rev)

0 comments on commit 1e75878

Please sign in to comment.