Skip to content

Commit

Permalink
Fixed versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegidish committed Feb 20, 2021
1 parent b684872 commit f32bbf3
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/android-studio-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,11 @@ jobs:
PLUGIN_VERSION="$(echo $GITHUB_REF | sed 's,refs/tags/,,g')"
sed -i -- "s/{{PLUGIN_VERSION}}/$PLUGIN_VERSION/g" META-INF/plugin.xml
ant -v all
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Version ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: svenstaro/upload-release-action@v2
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: TestFairyAndroidStudioPlugin.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: TestFairyAndroidStudioPlugin.zip
asset_name: testfairy-intellij-${{ github.ref }}-bin.zip
asset_content_type: application/zip

0 comments on commit f32bbf3

Please sign in to comment.