Skip to content

Commit

Permalink
Prereleases from develop-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaumgarten committed Aug 21, 2021
1 parent 9257bf1 commit 3b19821
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: go
branches:
except:
- latest
go: 1.14
dist: bionic
services:
Expand All @@ -14,7 +17,34 @@ before_script:
script:
- make all VERSION=${TRAVIS_BRANCH}
- ls -al
before_deploy: |
if [ "${TRAVIS_BRANCH}" == "develop" ] && [ "${TRAVIS_TAG}" == "" ]; then
git tag -f latest
git remote add gh https://${TRAVIS_REPO_SLUG%/*}:${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
git push -f gh latest
git remote remove gh
else
echo Not updating latest tag
fi
deploy:
- provider: releases
name: Automated build of develop-branch
api-key: $GH_TOKEN
file:
- yodk-win.zip
- yodk-linux.zip
- yodk-darwin.zip
- vscode-yolol.vsix
skip_cleanup: true
edge: true
overwrite: true
prerelease: true
target_commitish: $TRAVIS_COMMIT
tag_name: latest
body: "Use this release ONLY to test not-yet-released changes from the develop-branch. Use a versioned release (see below) for anything else!!!"
on:
tags: false
branch: develop
- provider: releases
api-key: $GH_TOKEN
file:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# YODK - YOLOL Development Kit
[![Build Status](https://travis-ci.com/dbaumgarten/yodk.svg?branch=master)](https://travis-ci.com/dbaumgarten/yodk)
[![Build Status](https://app.travis-ci.com/dbaumgarten/yodk.svg?branch=master)](https://app.travis-ci.com/dbaumgarten/yodk)

# What is YOLOL?
[YOLOL](https://wiki.starbasegame.com/index.php/YOLOL) is the ingame programming language for the upcoming game starbase.
Expand Down

0 comments on commit 3b19821

Please sign in to comment.