Skip to content
Snippets Groups Projects
Commit e0488f1a authored by Christoph Witzko's avatar Christoph Witzko
Browse files

fix: use correct file during docker build

parent 7ce94406
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,6 @@ FROM alpine ...@@ -2,6 +2,6 @@ FROM alpine
ADD ./docker/entrypoint.sh /usr/local/bin/docker-entrypoint ADD ./docker/entrypoint.sh /usr/local/bin/docker-entrypoint
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
COPY "./dist/semantic-release_linux_amd64/semantic-release" /usr/local/bin/semantic-release COPY "./dist/semantic-release_linux_amd64_v1/semantic-release" /usr/local/bin/semantic-release
ENTRYPOINT ["docker-entrypoint"] ENTRYPOINT ["docker-entrypoint"]
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
set -euo pipefail set -euo pipefail
./semantic-release --version-file --hooks goreleaser --prerelease ./semantic-release --version-file --hooks goreleaser --prerelease
export VERSION=$(cat .version) version=$(cat .version)
# publish npm package # publish npm package
echo "installing npm-binary-releaser..." echo "installing npm-binary-releaser..."
...@@ -13,7 +13,7 @@ chmod +x ./npm-binary-releaser ...@@ -13,7 +13,7 @@ chmod +x ./npm-binary-releaser
./npm-binary-releaser -i ./dist \ ./npm-binary-releaser -i ./dist \
-n go-semantic-release \ -n go-semantic-release \
-r "$VERSION" \ -r "$version" \
--homepage "https://github.com/go-semantic-release/semantic-release" \ --homepage "https://github.com/go-semantic-release/semantic-release" \
--license MIT \ --license MIT \
--package-name-prefix "@go-semantic-release/" \ --package-name-prefix "@go-semantic-release/" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment