Skip to content

Commit

Permalink
Merge pull request #1341 from buildpacks/fix-arch-git
Browse files Browse the repository at this point in the history
Check out master for pack-git, and force push
Signed-off-by: David Freilich <[email protected]>
  • Loading branch information
dfreilich authored Dec 8, 2021
2 parents 4f04f34 + 381f60f commit 0db2c77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/delivery/archlinux/publish-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ echo '> Cloning aur...'
git clone "ssh://[email protected]/${PACKAGE_NAME}.git" "${PACKAGE_AUR_DIR}"
chown -R archie "${PACKAGE_AUR_DIR}"
pushd "${PACKAGE_AUR_DIR}" > /dev/null

echo '> Checking out master...'
git checkout master

echo '> Applying changes...'
rm -rf ./*
cp -R "${PACKAGE_DIR}"/* ./
Expand All @@ -53,6 +55,6 @@ pushd "${PACKAGE_AUR_DIR}" > /dev/null
git diff --color | cat
git add .
git commit -m "Version ${PACK_VERSION}"
git push
git push -f

popd > /dev/null

0 comments on commit 0db2c77

Please sign in to comment.