mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -05:00
fix: Use correct binary link
This commit is contained in:
parent
30038f572b
commit
103bf61710
4 changed files with 9 additions and 5 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
<!-- next-header -->
|
||||
## [Unreleased] - ReleaseDate
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
- Correct the Linux binary link after switching to musl
|
||||
|
||||
## [1.1.0] - 2021-07-27
|
||||
|
||||
#### Features
|
||||
|
|
|
@ -2,7 +2,7 @@ FROM ubuntu:20.04
|
|||
ARG VERSION=1.1.0
|
||||
ENV VERSION=${VERSION}
|
||||
RUN apt-get update && apt-get install -y wget
|
||||
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
|
||||
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
|
||||
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
|
||||
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
|
||||
mv typos /usr/local/bin
|
||||
ENTRYPOINT ["/usr/local/bin/typos"]
|
||||
|
|
|
@ -2,8 +2,8 @@ FROM ubuntu:20.04
|
|||
ARG VERSION=1.1.0
|
||||
ENV VERSION=${VERSION}
|
||||
RUN apt-get update && apt-get install -y wget
|
||||
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
|
||||
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
|
||||
RUN wget https://github.com/crate-ci/typos/releases/download/v${VERSION}/typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
|
||||
tar -xzvf typos-v${VERSION}-x86_64-unknown-linux-musl.tar.gz && \
|
||||
mv typos /usr/local/bin
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
WORKDIR /github/workspace
|
||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ from setuptools.command.install import install as orig_install
|
|||
TYPOS_VERSION = '1.1.0'
|
||||
POSTFIX_SHA256 = {
|
||||
'linux': (
|
||||
'x86_64-unknown-linux-gnu.tar.gz',
|
||||
'x86_64-unknown-linux-musl.tar.gz',
|
||||
'', # TODO: sha256 hexhash when we can generate it with release
|
||||
),
|
||||
'darwin': (
|
||||
|
|
Loading…
Reference in a new issue