Skip to content

Commit

Permalink
fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Jun 29, 2023
1 parent 874ddcc commit ce09265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
TAG=$(echo "${{ github.event.release.tag_name }}" | sed -E 's/v([0-9]+\.[0-9]+\.[0-9]+)/\1/')
# Update the version file (version.py)
sed -i "s/__version__ = \".*\"/__version__ = \"$TAG\"/" version.py
sed -i "s/version = __version__/version = \"$TAG\"/" version.py
sed -i "s/__version__ = \".*\"/__version__ = \"$TAG\"/" src/hvps/version.py
# Update the package.json file
sed -i "s/\"version\": \".*\",/\"version\": \"$TAG\",/" bindings/nodejs/package.json
Expand All @@ -30,6 +29,7 @@ jobs:
build:
runs-on: ubuntu-latest
needs: [ update-version ]
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit ce09265

Please sign in to comment.