Skip to content

Commit 5b91bcf

Browse files
committed
Force publishing and skip actual PR creation
1 parent cbfd4c5 commit 5b91bcf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,17 @@ jobs:
5454
verbose: true
5555

5656
# Produce an Alire release manifest
57-
- name: Configure Github credentials
57+
- name: Configure Github credentials and generate manifest
58+
shell: bash
5859
run: |
5960
# Set user GitHub login required for `alr publish`
6061
alr settings --set --global user.github_login ${{github.repository_owner}}
6162
6263
# Run Alire publish assistant with the appropriate commit
63-
alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
64+
# Force to allow generation for -dev version
65+
alr -f publish --skip-submit \
66+
${{github.server_url}}/${{github.repository}} \
67+
${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6468
6569
# Save the path to the release manifest for the next step.
6670
# This is a little trick to get around the fact that the actions/upload-release-asset doesn't allow globing pattern.

0 commit comments

Comments
 (0)