Skip to content

Commit

Permalink
adding LISA version to dropdown in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
estohlmann committed Sep 26, 2024
1 parent 7d681c7 commit 8404beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code.hotfix.branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
DST_TAG=${{ github.event.inputs.dest_tag }}
git checkout -b hotfix/${{ github.event.inputs.dest_tag }}
sed -i -e "s/\"version\": \"${SRC_TAG:1}\"/\"version\": \"${DST_TAG:1}\"/g" package.json
sed -i -e "s/\"version\": \"${SRC_TAG:1}\"/\"version\": \"${DST_TAG:1}\"/g" lib/user-interface/react/package.json
sed -i -e "s/version = \"${SRC_TAG:1}\"/version = \"${DST_TAG:1}\"/g" lisa-sdk/pyproject.toml
sed -i -e "s/${SRC_TAG:1}/${DST_TAG:1}/g" VERSION
git commit -a -m "Updating version for hotfix ${{ github.event.inputs.dest_tag }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code.release.branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
git config --global user.name "github_actions_lisa"
RELEASE_TAG=${{ github.event.inputs.release_tag }}
git checkout -b release/${{ github.event.inputs.release_tag }}
echo "$( jq --arg version ${RELEASE_TAG:1} '.version = $version' lib/user-interface/react/package.json )" > lib/user-interface/react/package.json
echo "$( jq --arg version ${RELEASE_TAG:1} '.version = $version' package.json )" > package.json
sed -E -i -e "s/version = \"[0-9\.].+\"/version = \"${RELEASE_TAG:1}\"/g" lisa-sdk/pyproject.toml
echo ${RELEASE_TAG:1} > VERSION
Expand Down

0 comments on commit 8404beb

Please sign in to comment.