Skip to content

Commit

Permalink
Fix grep in file in cd
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Nov 29, 2023
1 parent 5daa505 commit 49644c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: taiki-e/install-action@cargo-make
- name: Get version
run: |
POSITIONAL_VERSION=$(grep -m1 '^version' Cargo.toml | cut -d'"' -f2)
POSITIONAL_DERIVE_VERSION=$(grep -m1 '^version' Cargo.toml | cut -d'"' -f2)
POSITIONAL_VERSION=$(grep -m1 '^version' positional/Cargo.toml | cut -d'"' -f2)
POSITIONAL_DERIVE_VERSION=$(grep -m1 '^version' positional_derive/Cargo.toml | cut -d'"' -f2)
echo "POSITIONAL_VERSION=$POSITIONAL_VERSION" >> $GITHUB_ENV
echo "POSITIONAL_DERIVE_VERSION=$POSITIONAL_DERIVE_VERSION" >> $GITHUB_ENV
- name: Check version
Expand Down

0 comments on commit 49644c6

Please sign in to comment.