diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b59e1fe2..7a4b87f1f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,7 +56,7 @@ jobs: - name: Update changelog run: | - (head -8 CHANGELOG.md && echo "## $VERSION" && date "+_%d %B %Y_" && (echo "$CHANGELOG" | sed -E 's_\(#([0-9]+)\)_([#\1](https://github.com/contentauth/c2pa-rs/pull/\1)\)_') && echo "" && tail -n +9 CHANGELOG.md) > CHANGELOG.new.md + (head -8 CHANGELOG.md && echo "## $VERSION" && date "+_%d %B %Y_" && echo "" && (echo "$CHANGELOG" | sed -E 's_\(#([0-9]+)\)_([#\1](https://github.com/contentauth/c2pa-rs/pull/\1)\)_') && tail -n +9 CHANGELOG.md) > CHANGELOG.new.md mv CHANGELOG.new.md CHANGELOG.md env: VERSION: ${{ steps.set-version.outputs.version }} @@ -71,7 +71,7 @@ jobs: run: | sed -i "s/^version = \"[^\"]*\"$/version = \"$VERSION\"/;" sdk/Cargo.toml sed -i "s/^version = \"[^\"]*\"$/version = \"$VERSION\"/;" make_test_images/Cargo.toml - sed -i "s/^c2pa = \"[^\"]*\"$/version = \"$VERSION\"/;" README.md + sed -i "s/^c2pa = \"[^\"]*\"$/c2pa = \"$VERSION\"/;" README.md env: VERSION: ${{ steps.set-version.outputs.version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 3847b9867..f17d3bdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,8 @@ Do not manually edit this file. It will be automatically updated when a new rele ## 0.4.1 _16 June 2022_ -* Fix bug in Cargo.toml updates ([#49](https://github.com/contentauth/c2pa-rs/pull/49)) +* Fix bug in Cargo.toml updates ([#49](https://github.com/contentauth/c2pa-rs/pull/49)) ## 0.4.0 _16 June 2022_ diff --git a/README.md b/README.md index 3ce3efb24..a3dde518c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -version = "0.4.1" +c2pa = "0.4.1" ``` ## Crate features