Skip to content

Commit

Permalink
chore: add build local script
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jan 14, 2023
1 parent 9029edb commit a08ad7e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/build-local.sh
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -euo pipefail

pluginDir=".semrel/$(go env GOOS)_$(go env GOARCH)/changelog-generator-default/0.0.0-dev/"
[[ ! -d "$pluginDir" ]] && {
echo "creating $pluginDir"
mkdir -p "$pluginDir"
}

go build -o "$pluginDir/changelog-generator-default" ./cmd/changelog-generator-default

0 comments on commit a08ad7e

Please sign in to comment.