Update workflows

This commit is contained in:
Willy-JL
2024-05-12 02:47:51 +01:00
parent 371b770fd3
commit 571a607a8c
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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)"
+2
View File
@@ -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:
+2 -1
View File
@@ -3,7 +3,8 @@ name: "Lint"
on:
push:
branches:
- dev
- "**"
- "!release"
tags:
- "*"
pull_request: