mirror of
https://github.com/ivabus/gui
synced 2025-06-07 07:40:27 +03:00
#99 release tagging
This commit is contained in:
parent
1bba1ab447
commit
65df00913e
2 changed files with 9 additions and 2 deletions
2
.github/notify-slack.js
vendored
2
.github/notify-slack.js
vendored
|
@ -8,7 +8,7 @@ async function main() {
|
|||
type: 'section',
|
||||
text: {
|
||||
type: 'mrkdwn',
|
||||
text: `NEW BUILD FOR ${process.env.PLATFORM} <${process.env.DOWNLOAD_URL}|download>`
|
||||
text: `NEW BUILD FOR ${process.env.PLATFORM} <${process.env.DOWNLOAD_URL}|download ${process.env.VERSION ? ('v'+process.env.VERSION) : ''}>`
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -80,4 +80,11 @@ jobs:
|
|||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_x64.dmg \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_latest.${{matrix.platform}}.dmg
|
||||
aws s3 cp ./modules/gui/src-tauri/target/release/bundle/dmg/tea_0.1.0_x64.dmg \
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_${{steps.tag.outputs.tag}}.${{matrix.platform}}.dmg
|
||||
s3://preview.gui.tea.xyz/release/tea_gui_${{steps.tag.outputs.tag}}.${{matrix.platform}}.dmg
|
||||
- name: Slack Notification
|
||||
run: ./.github/notify-slack.js
|
||||
env:
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
PLATFORM: ${{ matrix.platform }}
|
||||
VERSION: ${{steps.tag.outputs.tag}}
|
||||
DOWNLOAD_URL: http://preview.gui.tea.xyz.s3-website-us-east-1.amazonaws.com/release/tea_${{ steps.date.outputs.unix_seconds }}.${{ matrix.platform == 'ubuntu-latest' && 'deb' || 'dmg'}}
|
||||
|
|
Loading…
Reference in a new issue