Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Remove old workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Nov 23, 2020
1 parent 684dee8 commit 5807dbf
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/DEPLOY.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,3 @@ jobs:
- uses: actions/checkout@v1
- run: ./gradlew actuallyPublishBintray

publishVersionNumbers:
needs: [publish-finalize]
runs-on: ubuntu-latest
steps:
- name: Get repository name
run: echo "::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')"

- name: Get version
run: echo "::set-env name=VERSION::${GITHUB_REF/refs\/tags\/v/}"

- name: Checkout korlibs-versions repo
uses: actions/checkout@v2
with:
token: ${{ secrets.KORGEBOT_TOKEN }}
repository: korlibs/korlibs-versions

- name: Bump version numbers
run: |
sed -i 's/'$REPOSITORY_NAME'Version=.*/'$REPOSITORY_NAME'Version='$VERSION'/g' versions.ver
git config --global user.email "[email protected]"
git config --global user.name "korgebot"
git add versions.ver
git commit -m "${{ env.REPOSITORY_NAME }} bump to ${{ env.VERSION }}" -m "Bumped ${{ env.REPOSITORY_NAME }} version number to ${{ env.VERSION }}"
git push

0 comments on commit 5807dbf

Please sign in to comment.