Skip to content

Commit

Permalink
Use ref_type and name for both releases
Browse files Browse the repository at this point in the history
  • Loading branch information
MortalFlesh committed Nov 23, 2022
1 parent c797171 commit 5dc0c9c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-to-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ jobs:
# Release to devel
- name: '[RELEASE] Release deb to devel'
run: ./deploy-console.phar d:release devel "Github release - ${{ github.event.pull_request.title }}" -P
run: |
./deploy-console.phar d:release devel "Github release - ${{ github.ref_type }}: ${{ github.ref_name }}"
# Notify
- name: Slack Notification - success
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-to-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ jobs:
# Release to prod
- name: '[RELEASE] Release deb to prod'
run: ./deploy-console.phar d:release prod "Github release - ${{ github.ref_name }}" -P
run: |
./deploy-console.phar d:release prod "Github release - ${{ github.ref_type }}: ${{ github.ref_name }}" -P
# Notify
- name: Slack Notification - success
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Image Api as Storage for images",
"license": "proprietary",
"type": "project",
"version": "2.1.2",
"version": "2.1.3",
"require": {
"php": "^8.1",
"ext-libxml": "*",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5dc0c9c

Please sign in to comment.