mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 15:42:23 -05:00
fix(docker): Ensure using latest version
This commit is contained in:
parent
56cf2e17b6
commit
2898cc6605
2 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ pre-release-replacements = [
|
|||
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
|
||||
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
|
||||
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
|
||||
{file="Dockerfile", search="ARG VERSION=.*", replace="ARG VERSION={{version}}", min=1},
|
||||
{file="docker/Dockerfile", search="ARG VERSION=.*", replace="ARG VERSION={{version}}", min=1},
|
||||
{file="docs/pre-commit.md", search="rev: .*", replace="rev: {{tag_name}}", exactly=1},
|
||||
{file="setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
FROM ubuntu:20.04
|
||||
ARG VERSION=1.0.3
|
||||
ARG VERSION=1.0.11
|
||||
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 && \
|
||||
|
|
Loading…
Reference in a new issue