mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Update workflows
This commit is contained in:
@@ -19,7 +19,7 @@ if __name__ == "__main__":
|
||||
"content": None,
|
||||
"embeds": [
|
||||
{
|
||||
"title": "New Devbuild!",
|
||||
"title": f"New Devbuild: `{os.environ['VERSION_TAG']}`!",
|
||||
"description": "",
|
||||
"url": "",
|
||||
"color": 16751147,
|
||||
|
||||
@@ -48,7 +48,7 @@ if __name__ == "__main__":
|
||||
webhook = "RELEASE_WEBHOOK"
|
||||
color = 9471191
|
||||
version_tag = event['release']['tag_name']
|
||||
title = f"New Release: `{version_tag}`"
|
||||
title = f"New Release: `{version_tag}`!"
|
||||
desc += f"> 💻 [**Web Installer**](https://momentum-fw.dev/update)\n\n"
|
||||
desc += f"> 🐬 [**Changelog & Download**](https://github.com/Next-Flip/Momentum-Firmware/releases/tag/{version_tag})\n\n"
|
||||
desc += f"> 🛞 [**Project Page**](https://github.com/Next-Flip/Momentum-Firmware)"
|
||||
|
||||
@@ -89,6 +89,8 @@ jobs:
|
||||
ARTIFACT_TAG=flipper-z-"$(basename "$(realpath .)")"
|
||||
7z a ../../../artifacts/${ARTIFACT_TAG}.zip .
|
||||
echo "ARTIFACT_TAG=$ARTIFACT_TAG" >> $GITHUB_ENV
|
||||
VERSION_TAG="$(basename "$(realpath .)" | cut -d- -f3-)"
|
||||
echo "VERSION_TAG=$VERSION_TAG" >> $GITHUB_ENV
|
||||
|
||||
- name: "Upload artifacts to update server"
|
||||
env:
|
||||
|
||||
@@ -3,7 +3,8 @@ name: "Lint"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- "**"
|
||||
- "!release"
|
||||
tags:
|
||||
- "*"
|
||||
pull_request:
|
||||
|
||||
Reference in New Issue
Block a user