fixtags.sh
This commit is contained in:
parent
d75bfe4e35
commit
fb31ea44cf
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
buildtag() {
|
||||
name=$(grep '^name' "$1" | head -1 | sed -e 's:^.*"\([^"]*\)":\1:')
|
||||
version=$(grep '^version' "$1" | head -1 | sed -e 's:^.*"\([^"]*\)":\1:')
|
||||
echo "$name-v$version"
|
||||
}
|
||||
|
||||
git tag "$(buildtag syndicate/Cargo.toml)"
|
||||
git tag "$(buildtag syndicate-macros/Cargo.toml)"
|
||||
git tag "$(buildtag syndicate-server/Cargo.toml)"
|
Loading…
Reference in New Issue