Skip to content

Commit

Permalink
For real now
Browse files Browse the repository at this point in the history
  • Loading branch information
reese authored Dec 20, 2023
1 parent 6116f6f commit 4bf574e
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/preview-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- completed
push:
# Run only on trunk pushes that aren't a new tag release
branches: "*"
branches: [trunk]
tags-ignore: "*"

env:
Expand Down Expand Up @@ -114,13 +114,11 @@ jobs:
name: rubyfmt-release-artifact-macos-latest-native
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- run: |
echo "${{ steps.get-latest-tag.outputs.tag }}"
# - name: Upload Release
# uses: softprops/action-gh-release@v1
# with:
# files: rubyfmt-*.tar.gz
# fail_on_unmatched_files: true
# generate_release_notes: true
# prerelease: true
# tag_name: ${{ steps.get-latest-tag.outputs.tag }}
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
files: rubyfmt-*.tar.gz
fail_on_unmatched_files: true
generate_release_notes: true
prerelease: true
tag_name: ${{ steps.get-latest-tag.outputs.tag }}

0 comments on commit 4bf574e

Please sign in to comment.