Skip to content

Commit

Permalink
Improve commit messages generated by Containerfile-publication script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEAB committed Jul 12, 2024
1 parent dc0bf1e commit 8a9de74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/publish-containerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ if [ -d "$cfDir" ]; then
exit 1
fi

# Query current dlang-dockerized commit for use in downstream commit message.
currCommit="$(git rev-parse HEAD)"

# Clone "containerfiles" repo.
git clone --depth=1 --branch=dlang-rox "$cfRepo" "$cfDir"

Expand All @@ -27,6 +30,6 @@ git clone --depth=1 --branch=dlang-rox "$cfRepo" "$cfDir"
# Commit changes.
cd "$cfDir"
git add -A
git commit -m "Update containerfiles"
git commit -m "Update containerfiles to dlang-dockerized/packaging@$currCommit"
git push
cd ..

0 comments on commit 8a9de74

Please sign in to comment.