Skip to content

Commit

Permalink
chore(cli): style updates to release scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Apr 22, 2020
1 parent 7ab6ec9 commit f4355bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions cli/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//
// Author:: Salim Afiune Maya (<[email protected]>)
// Copyright:: Copyright 2020, Lacework Inc.
// License:: Apache License, Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion cli/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Authors: Technology Alliances <[email protected]>
This script installs the Lacework Command Line Interface.
.Parameter Version
Specifies a version (ex: 0.1.0)
Specifies a version (ex: v0.1.0)
#>

param (
Expand Down
2 changes: 1 addition & 1 deletion cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ USAGE:
FLAGS:
-h Prints help information
-v Specifies a version (ex: 0.1.0)
-v Specifies a version (ex: v0.1.0)
-t Specifies the target of the program to download (default: linux-amd64)
USAGE
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ generate_release_notes() {
log "generating release notes at RELEASE_NOTES.md"
load_list_of_changes
echo "# Release Notes" > RELEASE_NOTES.md
echo "Another day, another release. These are the release notes for the version 'v$VERSION'." >> RELEASE_NOTES.md
echo "Another day, another release. These are the release notes for the version \`v$VERSION\`." >> RELEASE_NOTES.md
echo "" >> RELEASE_NOTES.md
echo "$(cat CHANGES.md)" >> RELEASE_NOTES.md
}

push_release() {
log "commiting and pushing the release to github"
git checkout -B release
git commit -am "release v$VERSION"
git commit -am "Release v$VERSION"
git push origin release
log ""
log "Follow the above url and open a pull request"
Expand Down

0 comments on commit f4355bf

Please sign in to comment.