This commit is contained in:
Danil Kislov
2019-03-18 22:54:40 +03:00
parent e1ce691725
commit 890fa1abd5
48 changed files with 22 additions and 4 deletions
+5 -4
View File
@@ -1,10 +1,11 @@
language: csharp 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: deploy:
provider: releases provider: releases
api_key: $GITHUB_OAUTH_TOKEN api_key: $GITHUB_OAUTH_TOKEN
file_glob: true file: JiraTimeBot.zip
file: app.tgz
skip_cleanup: true skip_cleanup: true
on:
tags: true
+16
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
1.0.1

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.