Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
Browse files Browse the repository at this point in the history
… fixup! fixup! fixup! fixup! fixup! fixup! fixup! Build thmee on Github Action
  • Loading branch information
Kamil Breguła committed Nov 23, 2020
1 parent 585f333 commit 394dcf6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_COMMIT: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
if: >
github.ref == 'refs/heads/master' && github.repository == 'apache/airflow' &&
github.event_name == 'push'
run: |
gh auth status
gh release delete v0.0.1 -y || true
NOTES="Commit: ${GITHUB_COMMIT}
Source: ${GITHUB_REF}"
gh release create v0.0.1 \
--title "Commit: ${GITHUB_COMMIT}" \
--notes "Source: ${GITHUB_REF}" \
--title "Latest version" \
--notes "${NOTES}" \
./dist/*

0 comments on commit 394dcf6

Please sign in to comment.