Skip to content

Commit

Permalink
chore: fix scoop install and doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
idc101 committed Jun 1, 2020
1 parent 94717a2 commit 04e543e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd"
FOR /F %i IN ('git mkver next') DO set VERSION=%i
call sbt assembly
cd target\scala-2.12
call native-image -jar git-mkver-assembly-%VERSION%.jar --no-fallback
del git-mkver.exe
move git-mkver-assembly-%VERSION%.exe git-mkver.exe
PowerShell -Command "Compress-Archive -Path 'git-mkver.exe' -DestinationPath 'git-mkver-windows-amd64-%VERSION%.zip'"
cd ..\..\
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ brew install https://raw.githubusercontent.com/idc101/git-mkver/master/etc/Formu
Install with [scoop](https://scoop.sh):

```cmd
scoop install https://raw.githubusercontent.com/idc101/git-mkver/master/etc/Formula/git-mkver.rb
scoop install https://raw.githubusercontent.com/idc101/git-mkver/master/etc/scoop/git-mkver.json
```

## Manual
Expand Down
3 changes: 2 additions & 1 deletion etc/scoop/git-mkver.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"version": "1.0.0",
"description": "Automatic Semantic Versioning for git based software development",
"url": "https://github.com/idc101/git-mkver/releases/download/v1.0.0/git-mkver-windows-amd64-1.0.0.zip",
"extract_dir": "git-mkver",
"hash": "913cd814cf8dd2c5f933f484834c43b0ab62539b4791ce731327e0bb2fb567ac",
"extract_to": "",
"bin": "git-mkver.exe"
}

0 comments on commit 04e543e

Please sign in to comment.