-
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (35 loc) · 1.88 KB
/
release.yaml
File metadata and controls
37 lines (35 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: "Release"
on:
push:
tags:
- "v*.*.*"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- name: "Checkout"
uses: "actions/checkout@v6"
- name: "Verify the release version"
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: true
PACKAGE_DIR: ${{ github.workspace }}/custom_components/yandexgpt_conversation
PACKAGE_NAME: manifest.json
- name: "Compress"
shell: "bash"
run: |
cd "${{ github.workspace }}/custom_components/yandexgpt_conversation"
zip -r "${{ runner.temp }}/yandexgpt.zip" ./
- name: "Publish"
uses: softprops/action-gh-release@v2
with:
draft: true
files: ${{ runner.temp }}/yandexgpt.zip
body: >
[](https://github.com/black-roland/homeassistant-yandexgpt/releases)
[](https://boosty.to/mansmarthome/about?utm_source=github&utm_medium=referral&utm_campaign=gpt)
[](https://mansmarthome.info/donate/?utm_source=github&utm_medium=referral&utm_campaign=gpt#%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B0-%D0%B1%D1%8B%D1%81%D1%82%D1%80%D1%8B%D1%85-%D0%BF%D0%BB%D0%B0%D1%82%D0%B5%D0%B6%D0%B5%D0%B9)
generate_release_notes: true