Skip to content

Commit

Permalink
scripts to get versions and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Sep 16, 2024
1 parent c37228f commit de2e77a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/tag.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env fish

git checkout master

for dir in crux_macros crux_core crux_http crux_kv crux_platform crux_time
pushd $dir
git tag {$dir}-v(cargo pkgid | cut -d "#" -f2)
popd
end
7 changes: 7 additions & 0 deletions scripts/versions.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env fish

for dir in crux_macros crux_core crux_http crux_kv crux_platform crux_time
pushd $dir
echo {$dir}-v(cargo pkgid | cut -d "#" -f2)
popd
end

0 comments on commit de2e77a

Please sign in to comment.