Skip to content

Commit

Permalink
Combine release and publish together
Browse files Browse the repository at this point in the history
  • Loading branch information
keizer619 committed Feb 12, 2021
1 parent 730dfd7 commit d56b87e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
./gradlew release -Prelease.useAutomaticVersion=true
./gradlew -Pversion=${VERSION} publish
./gradlew release publish -Prelease.useAutomaticVersion=true -Pversion=${VERSION}
- name: Create Github release from the release tag
run: |
curl --request POST 'https://api.github.com/repos/ballerina-platform/ballerina-update-tool/releases' \
Expand Down

0 comments on commit d56b87e

Please sign in to comment.