-
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
Showing
4 changed files
with
58 additions
and
0 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,32 @@ | ||
builds: | ||
- main: . | ||
binary: emissary | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm | ||
- arm64 | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- balls | ||
- docs | ||
- Merge pull request | ||
- Merge branch | ||
|
||
archives: | ||
- format: tar.gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
files: | ||
- LICENSE | ||
- README.md |
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 @@ | ||
#!/bin/bash | ||
# nothing to see here, just a utility i use to create new releases ^_^ | ||
|
||
CURRENT_VERSION=$(cat version.go | grep VERSION | cut -d '"' -f 2) | ||
|
||
echo -n "Current version is $CURRENT_VERSION, select new version: " | ||
read NEW_VERSION | ||
echo "Creating version $NEW_VERSION ..." | ||
|
||
echo "Updating version.go" | ||
sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" version.go | ||
|
||
git add version.go | ||
git commit -m "Releasing v$NEW_VERSION" | ||
git push | ||
|
||
git tag -a v$NEW_VERSION -m "Release v$NEW_VERSION" | ||
git push origin v$NEW_VERSION | ||
|
||
rm -rf dist | ||
|
||
echo "All done, just run goreleaser now ^_^" |
File renamed without changes.
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,4 @@ | ||
package main | ||
|
||
// VERSION Emissary version | ||
const VERSION = "0.5" |