summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-11-18 21:53:15 -0500
committerLex Neva <github.com@lexneva.name>2020-01-29 01:29:49 -0500
commitbddfe9cd9181368d584dcb37d78e908d2e71aadc (patch)
treeb53edb9d2bc544c963bc24a3e2c13be09f982647 /.github/workflows
parent13fe706716a383e12b47c0458324580b6b12b84c (diff)
push release
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5e65b8cb..1f4da5ab 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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')."