mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* Modify tools/build_updated_packages.rb to support rebuilds * Modify .github/workflows/Build.yml to support rebuilds and pass arguments more cleanly * Rework adding files in the generate PR workflow * test * maelstrom: Package File Update Run on linux/amd64 container. * maelstrom: Package File Update Run on linux/arm/v7 container. * fix pr title determining error caught by lint --------- Co-authored-by: Zopolis4 <creatorsmithmdt@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
16 lines
526 B
Bash
Executable File
16 lines
526 B
Bash
Executable File
#!/bin/bash
|
|
# Mapping of /output should be set in the docker run options for the
|
|
# run-updater step of the generate job in .github/workflows/Updater.yml
|
|
# Version 1.0
|
|
cd /output/ || exit 1
|
|
crew update && yes | crew upgrade || true
|
|
unset LD_AUDIT
|
|
yes | crew upgrade || true
|
|
source ~/.bashrc
|
|
git config --global --add safe.directory /output
|
|
export CREW_AGREE_TIMEOUT_SECONDS=1
|
|
# Deal with a regexp_parser gem issue
|
|
gem install regexp_parser
|
|
yes | crew install ruby_rubocop
|
|
tools/build_updated_packages.rb --skip $1 $2 || exit 1
|