Skip to content

Commit

Permalink
fix: use correct file during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed May 22, 2022
1 parent 7ce9440 commit e0488f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM alpine

ADD ./docker/entrypoint.sh /usr/local/bin/docker-entrypoint
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"]
4 changes: 2 additions & 2 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

./semantic-release --version-file --hooks goreleaser --prerelease
export VERSION=$(cat .version)
version=$(cat .version)

# publish npm package
echo "installing npm-binary-releaser..."
Expand All @@ -13,7 +13,7 @@ chmod +x ./npm-binary-releaser

./npm-binary-releaser -i ./dist \
-n go-semantic-release \
-r "$VERSION" \
-r "$version" \
--homepage "https://github.com/go-semantic-release/semantic-release" \
--license MIT \
--package-name-prefix "@go-semantic-release/" \
Expand Down

0 comments on commit e0488f1

Please sign in to comment.