-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e986f4
commit a7d1ee9
Showing
11 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Git Credentials via KeePassCommander changelog | ||
|
||
## Version 1.3 | ||
Release date: 27 jun 2022 | ||
|
||
* renamed release distribution to GitCredentialsViaKeePassCommander-x.x.zip | ||
* for automatic installation scripts https://github.com/MircoBabin/GitCredentialsViaKeePassCommander/releases/latest/download/release.download.zip.url-location is a textfile and will contain an url to the latest release zip file | ||
|
||
## Version 1.2 | ||
Release date: 27 nov 2020 | ||
|
||
* First search in KeePass for title "git [...lowercase last part of directory...][...lowercase computername...]". | ||
|
||
## Version 1.1 | ||
Release date: 24 sep 2020 | ||
|
||
* Return %errorlevel%. Errorlevel 1 (and higher) indicates error. Errorlevel 0 is success. | ||
|
||
## Version 1.0 | ||
Release date: 11 sep 2020 | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@echo off | ||
setlocal | ||
cls | ||
|
||
cd /D "%~dp0" | ||
|
||
set sz_exe=C:\Program Files\7-Zip\7z.exe | ||
if exist "%sz_exe%" goto build | ||
|
||
set sz_exe=C:\Program Files (x86)\7-Zip\7z.exe | ||
if exist "%sz_exe%" goto build | ||
|
||
echo !!! 7-Zip 18.06 - 7z.exe not found | ||
pause | ||
goto:eof | ||
|
||
:build | ||
echo 7-Zip 18.06: %sz_exe% | ||
|
||
FOR /F "tokens=* USEBACKQ" %%g IN (`"%~dp0..\bin\Release\git-credential-keepasscommand.exe" --version`) do (SET GitCredentialsViaKeePassCommanderReleaseVersion=%%g) | ||
FOR /F "tokens=* USEBACKQ" %%g IN (`"%~dp0..\bin\Debug\git-credential-keepasscommand.exe" --version`) do (SET GitCredentialsViaKeePassCommanderDebugVersion=%%g) | ||
|
||
if "%GitCredentialsViaKeePassCommanderReleaseVersion%" == "%GitCredentialsViaKeePassCommanderDebugVersion%" goto build_zip | ||
echo. | ||
echo Release version: %GitCredentialsViaKeePassCommanderReleaseVersion% | ||
echo Debug version..: %GitCredentialsViaKeePassCommanderDebugVersion% | ||
echo. | ||
echo !!! Versions do not match. | ||
pause | ||
goto :eof | ||
|
||
|
||
:build_zip | ||
echo. | ||
echo Release version: %GitCredentialsViaKeePassCommanderReleaseVersion% | ||
echo. | ||
echo. | ||
|
||
|
||
del /q "Release\*" >nul 2>&1 | ||
|
||
set files="%~dp0..\bin\Release\git-credential-keepasscommand.exe" | ||
set files=%files% "%~dp0..\bin\Release\git-credential-keepasscommand.exe.config" | ||
|
||
"%sz_exe%" a -tzip -mx7 "Release\GitCredentialsViaKeePassCommander-%GitCredentialsViaKeePassCommanderReleaseVersion%.zip" %files% | ||
"%sz_exe%" a -tzip -mx7 "Release\GitCredentialsViaKeePassCommander-%GitCredentialsViaKeePassCommanderReleaseVersion%-debugpack.zip" "%~dp0..\bin" | ||
|
||
echo. | ||
echo. | ||
echo Created "Release\GitCredentialsViaKeePassCommander-%GitCredentialsViaKeePassCommanderReleaseVersion%.zip" | ||
echo Created "Release\GitCredentialsViaKeePassCommander-%GitCredentialsViaKeePassCommanderReleaseVersion%-debugpack.zip" | ||
|
||
rem https://github.com/MircoBabin/GitCredentialsViaKeePassCommander/releases/latest/download/release.download.zip.url-location | ||
rem Don't output trailing newline (CRLF) | ||
<NUL >"Release\release.download.zip.url-location" set /p="https://github.com/MircoBabin/GitCredentialsViaKeePassCommander/releases/download/%GitCredentialsViaKeePassCommanderReleaseVersion%/GitCredentialsViaKeePassCommander-%GitCredentialsViaKeePassCommanderReleaseVersion%.zip" | ||
|
||
echo. | ||
echo Created "Release\release.download.zip.url-location" | ||
echo. | ||
|
||
pause |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://github.com/MircoBabin/GitCredentialsViaKeePassCommander/releases/download/1.3/GitCredentialsViaKeePassCommander-1.3.zip |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters