Compare commits

..
7 Commits
4 changed files with 29 additions and 9 deletions
+1
View File
@@ -0,0 +1 @@
1.0.10
+10 -2
View File
@@ -1,11 +1,19 @@
language: csharp
solution: src/JiraTimeBot.sln
before_deploy:
- "zip -j JiraTimeBot.zip src/JiraTimeBot/bin/Release/*"
before_deploy: "zip -j JiraTimeBot.zip src/JiraTimeBot/bin/Release/*"
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
overwrite: true
file: JiraTimeBot.zip
skip_cleanup: true
on:
tags: true
tags: true
notifications:
email:
on_success: never
on_failure: always
+18 -6
View File
@@ -1,20 +1,32 @@
@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
IF %1.==. GOTO NoCommitMessage
echo %~1
pause
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 %VERSION%>.semver.txt
echo Updating to %VERSION%
git add .
git commit -m "Commit new version"
git commit -m "%~1"
git tag -m "Version v%VERSION%" -a v%VERSION%
git push origin v%VERSION%
git push
pause
GOTO End
pause
:NoCommitMessage
echo Please specify commit message: %0 "commit message"
GOTO End
:End
-1
View File
@@ -1 +0,0 @@
1.0.4