Skip to content

Commit 18788ec

Browse files
committed
Add version to dmg
1 parent 907c60d commit 18788ec

1 file changed

Lines changed: 3 additions & 48 deletions

File tree

.github/workflows/trivir.yml

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,9 @@ jobs:
201201

202202
- name: Commit updated changelog and version
203203
id: commit-changelog
204-
#TODO: Figure out what values we should use for user.name and user.email
205204
run: |
206-
git config user.name "Automated Version Bump"
207-
git config user.email "gh-action-bump-version@users.noreply.github.com"
205+
git config user.name "github-actions[bot]"
206+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
208207
git add CHANGELOG.md package.json
209208
git commit --message "Updated changelog and version for release ${{ needs.build.outputs.newTag }}"
210209
git push
@@ -223,6 +222,7 @@ jobs:
223222
Release.txt
224223
frodo-linux-${{ needs.build.outputs.newVersion }}.zip
225224
frodo-macos-${{ needs.build.outputs.newVersion }}.zip
225+
frodo-macos-${{ needs.build.outputs.newVersion }}.dmg
226226
frodo-win-${{ needs.build.outputs.newVersion }}.zip
227227
# frodo-linux-arm64-${{ needs.build.outputs.newVersion }}.zip
228228
token: ${{ secrets.GITHUB_TOKEN }}
@@ -338,35 +338,11 @@ jobs:
338338
./frodo journey -h
339339
./frodo journey export -h
340340
341-
# - name: Package for Distribution
342-
# run: ditto -V -c -k "frodo" "frodo-macos-${{ needs.build.outputs.newVersion }}.zip"
343-
344341
- name: Install gon via HomeBrew for code signing and app notarization
345342
run: |
346343
brew tap mitchellh/gon
347344
brew install mitchellh/gon/gon
348345
349-
# run: |
350-
# cat > ./gon.json <<DELIM
351-
# {
352-
# "source" : ["./frodo"],
353-
# "bundle_id" : "com.trivir.frodo.frodo",
354-
# "apple_id": {
355-
# "username" : "dev@trivir.com",
356-
# "password": "@env:AC_PASSWORD"
357-
# },
358-
# "sign" :{
359-
# "application_identity" : "Developer ID Application"
360-
# },
361-
# "dmg" :{
362-
# "output_path": "./frodo.dmg",
363-
# "volume_name": "frodo"
364-
# },
365-
# "zip" :{
366-
# "output_path" : "./frodo.zip"
367-
# }
368-
# }
369-
# DELIM
370346
- name: Notorize
371347
env:
372348
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
@@ -399,38 +375,18 @@ jobs:
399375
}
400376
DELIM
401377
gon -log-level=debug -log-json gon.json
402-
# run: |
403-
# cat > ./gon.json <<DELIM
404-
# {
405-
# "notarize": [{
406-
# "path": "./frodo-macos-${{ needs.build.outputs.newVersion }}.zip",
407-
# "bundle_id": "com.trivir.frodo.frodo"
408-
# }],
409-
# "apple_id": {
410-
# "username": "dev@trivir.com",
411-
# "password": "@env:AC_PASSWORD"
412-
# }
413-
# }
414-
# DELIM
415-
# gon -log-level=debug -log-json gon.json
416378
417379
- uses: actions/upload-artifact@v3
418380
with:
419381
name: dist
420382
path: frodo-macos-${{ needs.build.outputs.newVersion }}.zip
421383

422-
# - uses: actions/upload-artifact@v3
423-
# with:
424-
# name: dist
425-
# path: frodo.zip
426-
427384
- uses: actions/upload-artifact@v3
428385
with:
429386
name: dist
430387
path: frodo-macos-${{ needs.build.outputs.newVersion }}.dmg
431388

432389
linux-binary-release:
433-
if: false
434390
needs: [build, smoke-tests]
435391
runs-on: ubuntu-latest
436392
steps:
@@ -504,7 +460,6 @@ jobs:
504460
path: frodo-linux-arm64-${{ needs.build.outputs.newVersion }}.zip
505461

506462
windows-binary-release:
507-
if: false
508463
needs: [build, smoke-tests]
509464
runs-on: windows-latest
510465
steps:

0 commit comments

Comments
 (0)