commit c6af9e912ac9ac9d056c8b7a0cc763814e37e190
parent 0f23562e0f4dbe0b544ecdbd080433833f66bd28
Author: Eric Scouten <scouten@adobe.com>
Date: Thu, 16 Jun 2022 11:23:31 -0700
Fix bug in updating crate reference in README (#50)
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git 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
@@ -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
@@ -43,7 +43,7 @@ Add this to your `Cargo.toml`:
```toml
[dependencies]
-version = "0.4.1"
+c2pa = "0.4.1"
```
## Crate features