Skip to content

Commit

Permalink
fix(workflow): Update crate name
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel A. Cabrera Minagorri <devgorri@gmail.com>
  • Loading branch information
miguelaeh committed Nov 11, 2023
1 parent 55edd8f commit 0383944
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pipeless-build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: check_version
run: |
before_version=$(git describe --abbrev=0 --tags | grep -o '\([0-9]\+\.\)\+[0-9]\+')
after_version=$(cargo metadata --manifest-path pipeless/Cargo.toml --format-version 1 | jq -r '.packages[] | select(.name == "pipeless").version')
after_version=$(cargo metadata --manifest-path pipeless/Cargo.toml --format-version 1 | jq -r '.packages[] | select(.name == "pipeless-ai").version')
if [ "$before_version" != "$after_version" ]; then
echo "Cargo.toml version has been updated"
Expand Down Expand Up @@ -97,6 +97,7 @@ jobs:
- name: Build
run: |
cargo build --all --release --manifest-path pipeless/Cargo.toml &&
mv pipeless/target/release/pipeless-ai pipeless/target/release/pipeless &&
strip pipeless/target/release/pipeless &&
mkdir pipeless-${{ steps.check_version.outputs.new_version }}
cp pipeless/target/release/{pipeless,libonnxruntime*} pipeless-${{ steps.check_version.outputs.new_version }}/
Expand Down

0 comments on commit 0383944

Please sign in to comment.