ok
This commit is contained in:
+5
-4
@@ -1,10 +1,11 @@
|
||||
language: csharp
|
||||
solution: JiraTimeBot.sln
|
||||
solution: src/JiraTimeBot.sln
|
||||
|
||||
before_deploy: "tar -czf app.tgz JiraTimeBot/bin/Release/*"
|
||||
before_deploy: "zip -j JiraTimeBot.zip src/JiraTimeBot/bin/Release/*"
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_OAUTH_TOKEN
|
||||
file_glob: true
|
||||
file: app.tgz
|
||||
file: JiraTimeBot.zip
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
for /f "tokens=1 delims=." %%G IN (semver.txt) DO set MAJOR=%%G
|
||||
for /f "tokens=2 delims=." %%G IN (semver.txt) DO set MINOR=%%G
|
||||
for /f "tokens=3 delims=." %%G IN (semver.txt) DO set PATCH=%%G
|
||||
set VERSION_CURRENT=%MAJOR:~0,1%.%MINOR:~0,1%.%PATCH%
|
||||
echo Current: %VERSION_CURRENT%
|
||||
|
||||
SET /a PATCH1 = %PATCH%+1
|
||||
set VERSION=%MAJOR:~0,1%.%MINOR:~0,1%.%PATCH1%
|
||||
echo %VERSION%>semver.txt
|
||||
echo Updating to %VERSION%
|
||||
|
||||
git add .
|
||||
git tag -a v%VERSION%
|
||||
git push
|
||||
pause
|
||||
@@ -0,0 +1 @@
|
||||
1.0.1
|
||||
Generated
Generated
|
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Binary file not shown.
Reference in New Issue
Block a user