Skip to content

Commit

Permalink
[master] - Version now getting outputted correctly, release should tr…
Browse files Browse the repository at this point in the history
…igger on pushes to master. - TT
  • Loading branch information
Tyler-Keith-Thompson committed Apr 24, 2021
1 parent 4621c2e commit e50decb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
types: [ created ]

jobs:
print:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cocoapods Release
run: |
pod repo add-cdn trunk 'https://cdn.cocoapods.org/'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
run: |
fastlane patch
VERSION=`/usr/libexec/PlistBuddy -c "Print :CFBundleVersion" Sources/CucumberSwift/Info.plist`
echo '##[set-output name=version;]$VERSION'
- name: Print version
run: echo "The version is ${{ steps.bump_version.outputs.VERSION }}"
echo "##[set-output name=version;]$VERSION"
- name: Commit version changes
uses: stefanzweifel/git-auto-commit-action@v4
- name: Bump version and push tag
Expand Down

0 comments on commit e50decb

Please sign in to comment.