Merge branch 'master' into dev
This commit is contained in:
commit
2d25e42b40
25
README.md
25
README.md
|
@ -1,13 +1,13 @@
|
|||
[![Build Status](https://travis-ci.org/LiquidityC/breakhack.svg?branch=master)](https://travis-ci.org/LiquidityC/breakhack)
|
||||
[![Build Status](https://ci.appveyor.com/api/projects/status/2nvna97cmm4cf535?svg=true)](https://ci.appveyor.com/project/LiquidityC/breakhack)
|
||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02d56fa7194e61b2c7d260fd2e4186)](https://www.codacy.com/app/LiquidityC/breakhack?utm_source=github.com&utm_medium=referral&utm_content=LiquidityC/breakhack&utm_campaign=Badge_Grade)
|
||||
[![CodeFactor](https://www.codefactor.io/repository/github/liquidityc/breakhack/badge/master)](https://www.codefactor.io/repository/github/liquidityc/breakhack/overview/master)
|
||||
<!--[![Coverity Scan](https://scan.coverity.com/projects/15218/badge.svg)](https://scan.coverity.com/projects/liquidityc-breakhack)-->
|
||||
[![GitHub issues](https://img.shields.io/github/issues/liquidityc/breakhack.svg)](https://github.com/liquidityc/breakhack/issues)
|
||||
[![GitHub closed issues](https://img.shields.io/github/issues-closed/liquidityc/breakhack.svg)](https://github.com/liquidityc/breakhack/issues)
|
||||
![GitHub (pre-)release](https://img.shields.io/github/release/liquidityc/breakhack/all.svg)
|
||||
[![Github All Releases](https://img.shields.io/github/downloads/liquidityc/breakhack/total.svg)](https://github.com/liquidityc/breakhack/releases)
|
||||
[![HitCount](http://hits.dwyl.io/liquidityc/breakhack.svg)](http://hits.dwyl.io/liquidityc/breakhack)
|
||||
[![Build Status](https://travis-ci.org/Oliveshark/breakhack.svg?branch=master)](https://travis-ci.org/Oliveshark/breakhack)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/2a18npdntkmlx3dc?svg=true)](https://ci.appveyor.com/project/LiquidityC/breakhack)
|
||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02d56fa7194e61b2c7d260fd2e4186)](https://www.codacy.com/app/LiquidityC/breakhack?utm_source=github.com&utm_medium=referral&utm_content=Oliveshark/breakhack&utm_campaign=Badge_Grade)
|
||||
[![CodeFactor](https://www.codefactor.io/repository/github/oliveshark/breakhack/badge/master)](https://www.codefactor.io/repository/github/oliveshark/breakhack/overview/master)
|
||||
<!--[![Coverity Scan](https://scan.coverity.com/projects/15218/badge.svg)](https://scan.coverity.com/projects/oliveshark-breakhack)-->
|
||||
[![GitHub issues](https://img.shields.io/github/issues/oliveshark/breakhack.svg)](https://github.com/oliveshark/breakhack/issues)
|
||||
[![GitHub closed issues](https://img.shields.io/github/issues-closed/oliveshark/breakhack.svg)](https://github.com/oliveshark/breakhack/issues)
|
||||
![GitHub (pre-)release](https://img.shields.io/github/release/oliveshark/breakhack/all.svg)
|
||||
[![Github All Releases](https://img.shields.io/github/downloads/oliveshark/breakhack/total.svg)](https://github.com/oliveshark/breakhack/releases)
|
||||
[![HitCount](http://hits.dwyl.io/oliveshark/breakhack.svg)](http://hits.dwyl.io/oliveshark/breakhack)
|
||||
|
||||
Something in the ways of a roguelike
|
||||
================================
|
||||
|
@ -41,7 +41,7 @@ License
|
|||
-------
|
||||
BreakHack is released under two different licenses.
|
||||
|
||||
- The source code is released under [GPLv3](https://github.com/LiquidityC/breakhack/blob/master/LICENSE.txt)
|
||||
- The source code is released under [GPLv3](https://github.com/oliveshark/breakhack/blob/master/LICENSE.txt)
|
||||
- The Steam release is released under the [Steam subscriber agreement](https://store.steampowered.com/subscriber_agreement/)
|
||||
|
||||
Compile
|
||||
|
@ -66,4 +66,5 @@ your name to the credits list (once I add it in game).
|
|||
Links
|
||||
-----
|
||||
|
||||
- [https://liquidityc.itch.io/breakhack](https://liquidityc.itch.io/breakhack)
|
||||
- [Itch.io](https://store.steampowered.com/app/931040/BreakHack/)
|
||||
- [Steam](https://liquidityc.itch.io/breakhack)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
6811c42 Patch version raised to
|
||||
e796fff Prepare release script for real versions
|
||||
ae44d5c Adds minimal Steam fiddling protection
|
||||
6e3343a License stuff and README updates
|
||||
899d2e5 Update to build env
|
|
@ -1,14 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Get the current patch version
|
||||
LAST_VERSION=$(egrep -o 'breakhack_PATCH_VERSION [0-9]+' CMakeLists.txt | awk '{print $2}')
|
||||
NEXT_VERSION=$((LAST_VERSION + 1))
|
||||
MAJOR_VERSION=$(egrep -o 'breakhack_MAJOR_VERSION [0-9]+' CMakeLists.txt | awk '{print $2}')
|
||||
MINOR_VERSION=$(egrep -o 'breakhack_MINOR_VERSION [0-9]+' CMakeLists.txt | awk '{print $2}')
|
||||
LAST_PATCH_VERSION=$(egrep -o 'breakhack_PATCH_VERSION [0-9]+' CMakeLists.txt | awk '{print $2}')
|
||||
NEXT_PATCH_VERSION=$((LAST_PATCH_VERSION + 1))
|
||||
|
||||
LAST_TAG=early-access-v$LAST_VERSION
|
||||
NEXT_TAG=early-access-v$NEXT_VERSION
|
||||
LAST_TAG=v$MAJOR_VERSION.$MINOR_VERSION.$LAST_PATCH_VERSION
|
||||
NEXT_TAG=v$MAJOR_VERSION.$MINOR_VERSION.$NEXT_PATCH_VERSION
|
||||
|
||||
# Update the version and create release notes
|
||||
sed -i -e "s/breakhack_PATCH_VERSION [0-9]\+/breakhack_PATCH_VERSION $NEXT_VERSION/" CMakeLists.txt
|
||||
sed -i -e "s/breakhack_PATCH_VERSION [0-9]\+/breakhack_PATCH_VERSION $NEXT_PATCH_VERSION/" CMakeLists.txt
|
||||
git log --oneline $LAST_TAG..HEAD > build/releasenotes/$NEXT_TAG.txt
|
||||
git add build/releasenotes/$NEXT_TAG.txt
|
||||
git commit -a -m"Patch version raised to $NEXT_VERSION"
|
||||
|
|
Loading…
Reference in New Issue