From 2898cc66053fbe42c3b2b5603c2c49a626e02a29 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 2 Jul 2021 10:44:44 -0500 Subject: [PATCH] fix(docker): Ensure using latest version --- Cargo.toml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d6378cc..9daa4ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,7 @@ pre-release-replacements = [ {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, {file="CHANGELOG.md", search="", replace="\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}, diff --git a/Dockerfile b/Dockerfile index 3673ad5..ca6bee5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \