feat(ghpublish): choose (pre)release depending on tag (#928)

While there, include integration testing to make sure the script
is working as intended before using it.

While there, edit maketarball.bash's comments.
This commit is contained in:
Simone Basso 2022-09-03 12:11:19 +02:00 committed by GitHub
commit ae0613fbb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 72 additions and 6 deletions

18
.github/workflows/ghpublish.yml vendored Normal file
View file

@ -0,0 +1,18 @@
# Verifies that `./script/ghpublish.bash` is WAI
name: ghpublish
on:
push:
branches:
- "release/**"
- "fullbuild"
- "ghpublishbuild"
jobs:
test_ghpublish_bash:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: ./script/ghpublish_test.bash