Skip to content

Commit

Permalink
Redo: Release v3.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Feb 20, 2024
1 parent 20df39f commit bfc6079
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*'
- 'libosdp-sys-v*'
- 'libosdp-v*'
- 'osdpctl-v*'

jobs:
publish:
Expand All @@ -24,7 +26,7 @@ jobs:
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ignore-unpublished-changes: true
- run: cargo publish --token ${CRATES_TOKEN} -p $(echo ${REL_TAG} | perl -pe 's/.+?([a-z\-]+)-v.*/\1/')
env:
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
REL_TAG: ${{ github.ref_name }}
2 changes: 1 addition & 1 deletion libosdp-sys/vendor
Submodule vendor updated 1 files
+1 −1 utils

0 comments on commit bfc6079

Please sign in to comment.