Skip to content

Commit

Permalink
bwc workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Oct 18, 2023
1 parent ca572c6 commit 8cac2c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump-bwc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
#installation_id: 22958780
installation_id: 42934585

- uses: actions/checkout@v4
- name: Fetch Tag and Version Information
uses: actions/checkout@v4
run: |
if [ -z ${{ inputs.tag }} ]; then
if [ -n ${{ inputs.tag }} ]; then
TAG=${{ inputs.tag }}
else
TAG=$(echo "${GITHUB_REF#refs/*/}")
Expand All @@ -45,7 +45,7 @@ jobs:
ref: main
token: ${{ steps.github_app_token.outputs.token }}

- name: Bump bwc version to main branch
- name: Bump bwc version for main branch
run: |
echo Bumping bwc version to $NEXT_VERSION
sed -i "s/def bwcVersionShort = \"$CURRENT_VERSION\"/def bwcVersionShort = \"$NEXT_VERSION\"/g" notifications/notifications/build.gradle
Expand Down

0 comments on commit 8cac2c3

Please sign in to comment.