Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaker76 authored Jun 23, 2024
1 parent 9e01482 commit 81f49c6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Extract Version
id: extract_version
run: |
VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" PinConfigurator.xcodeproj/Info.plist)
VERSION=$(grep CURRENT_PROJECT_VERSION PinConfigurator.xcodeproj/project.pbxproj | awk -F' = ' '{ print $2 }' | tr -d ';')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build Debug
run: xcodebuild -jobs 1 -configuration Debug -arch x86_64 SYMROOT=$PWD/build
Expand All @@ -42,7 +42,5 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*.zip
tag: ${{ github.ref }}
file_glob: true
name: "${{ env.VERSION }}"
body: "Release notes for version ${{ env.VERSION }}"
tag: "${{ env.VERSION }}"
overwrite: true

0 comments on commit 81f49c6

Please sign in to comment.