pull/573/head
Lex Neva 2019-11-18 21:53:15 -05:00
rodzic 13fe706716
commit bddfe9cd91
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -43,3 +43,14 @@ jobs:
with:
name: inkstitch-windows
path: artifacts
- name: create/update dev release
# if: not tagged v1.2.3
shell: bash
run: |
branch="${GITHUB_REF#refs/heads/}"
tag="dev-build-$(echo $branch | tr / -)"
git tag -f $tag
git push -f "https://git:${{secrets.INKSTITCH_BUILDS_GITHUB_TOKEN}}@github.com/inkstitch/inkstitch.git" $tag
gem install dpl
dpl --provider=releases --api-key=${{secrets.INKSTITCH_BUILDS_GITHUB_TOKEN}} --file=artifacts/*.zip --file_glob --overwrite --tag_name=$tag --prerelease --name="development build of $branch" --body="Automatic development build of $branch ($GITHUB_COMMIT) built on $(date +'%F %T %Z')."