Skip to content

Commit

Permalink
Merge pull request #73 from Poing-Studios/fix-release-v2
Browse files Browse the repository at this point in the history
ci: fix release, naming tag
  • Loading branch information
gumaciel committed Oct 25, 2023
2 parents e9730a5 + 8684884 commit 10ab17a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}

- name: Set plugin version on env
run: |
PLUGIN_VERSION=$(find . -name "*.h" -exec grep -H 'PLUGIN_VERSION = ' {} \; | awk -F'"' '{print $2}')
echo "PLUGIN_VERSION=v${PLUGIN_VERSION}" >> $GITHUB_ENV
- name: Download, copy and unzip the lastest Google Mobile Ads SDK on release binaries and iOS module folder
run: |
curl -LO https://dl.google.com/googleadmobadssdk/googlemobileadssdkios.zip
Expand All @@ -21,9 +30,10 @@ jobs:
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
target_commit: ${{ github.ref_name }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: googlemobileadssdkios.zip
tag: ${{ github.ref }}
tag: ${{env.PLUGIN_VERSION}}
overwrite: true

ios-template:
Expand Down

0 comments on commit 10ab17a

Please sign in to comment.