Skip to content

Commit

Permalink
Fix homebrew and AUR release push failures [skip ci][ci skip] (#3036)
Browse files Browse the repository at this point in the history
* Bump homebrew edge release unconditionally
* AUR edge should always be pushed if it's a release
  • Loading branch information
rfay committed Jun 4, 2021
1 parent 20fe4c3 commit 851ac39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ jobs:
args: ${{ github.workspace }}/artifacts/*

- name: "Bump homebrew edge release"
if: env.DDEV_GITHUB_TOKEN != '' && startsWith( github.ref, 'refs/tags/v1') && contains( github.ref, '-')
if: env.DDEV_GITHUB_TOKEN != '' && startsWith( github.ref, 'refs/tags/v1')
run: |
bash -x .ci-scripts/bump_homebrew.sh ${HOMEBREW_EDGE_REPOSITORY} ddev ${GITHUB_REF##*/} ${{ github.workspace }}/artifacts ${DDEV_MAIN_REPO_ORGNAME}
Expand All @@ -217,7 +217,7 @@ jobs:
bash -x .ci-scripts/bump_homebrew.sh ${HOMEBREW_STABLE_REPOSITORY} ddev ${GITHUB_REF##*/} ${{ github.workspace }}/artifacts ${DDEV_MAIN_REPO_ORGNAME}
- name: "Push AUR ddev-edge-bin"
if: env.AUR_SSH_PRIVATE_KEY != '' && startsWith( github.ref, 'refs/tags/v1') && contains( github.ref, '-')
if: env.AUR_SSH_PRIVATE_KEY != '' && startsWith( github.ref, 'refs/tags/v1')
run: |
echo GITHUB_REF=${GITHUB_REF}
.ci-scripts/bump_aur.sh ddev-edge-bin ${GITHUB_REF##*/} ${{ github.workspace }}/artifacts
Expand Down

0 comments on commit 851ac39

Please sign in to comment.