Skip to content

Commit

Permalink
Merge pull request #1217 from chamil321/update-sed
Browse files Browse the repository at this point in the history
[Main] Update work flow with sed cmd
  • Loading branch information
chamil321 authored Aug 31, 2022
2 parents d0b11a6 + 2ec2d8a commit e25ef97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
sed -i 's/version=\(.*\)-SNAPSHOT/version=\1/g' gradle.properties
./gradlew clean build -PpublishToCentral=true
- name: Ballerina Central Stage Push
Expand All @@ -74,4 +75,5 @@ jobs:
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
sed -i 's/version=\(.*\)-SNAPSHOT/version=\1/g' gradle.properties
./gradlew clean build -PpublishToCentral=true

0 comments on commit e25ef97

Please sign in to comment.