1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-24 08:52:18 +02:00

Обновление загрузки пакетов в Draft

This commit is contained in:
Anton Titovets 2024-08-07 16:04:17 +03:00
parent 49e05f2d6a
commit 53bc6e7256
7 changed files with 66 additions and 14 deletions

View File

@ -71,11 +71,15 @@ jobs:
depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки' desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
- name: Изменить имя пакета deb
run: |
mw oint_1.11.1_all.deb oint_1.11.1_all_ru.deb
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: oint-deb name: oint-deb
path: | path: |
./*.deb oint_1.11.1_all_ru.deb
- name: Создать каталог rpm-пакета - name: Создать каталог rpm-пакета
run: | run: |
@ -99,12 +103,15 @@ jobs:
mono-devel mono-devel
Requires: mono-locale-extras Requires: mono-locale-extras
- name: Изменить имя пакета rpm
run: |
mw oint-1.11.1-1.el7.x86_64.rpm oint-1.11.1-1.el7.x86_64_ru.rpm
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: oint-rpm name: oint-rpm
path: | path: |
./*.rpm ./oint-1.11.1-1.el7.x86_64_ru.rpm
!./*-debuginfo-*.rpm
- name: Добавить DEB - name: Добавить DEB
env: env:

View File

@ -71,11 +71,15 @@ jobs:
depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services' desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
- name: Изменить имя пакета deb
run: |
mw oint_1.11.1_all.deb oint_1.11.1_all_en.deb
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: oint-deb name: oint-deb
path: | path: |
./*.deb oint_1.11.1_all_en.deb
- name: Создать каталог rpm-пакета - name: Создать каталог rpm-пакета
run: | run: |
@ -99,6 +103,10 @@ jobs:
mono-devel mono-devel
Requires: mono-locale-extras Requires: mono-locale-extras
- name: Изменить имя пакета rpm
run: |
mw oint-1.11.1-1.el7.x86_64.rpm oint-1.11.1-1.el7.x86_64_en.rpm
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: oint-rpm name: oint-rpm

View File

@ -87,11 +87,15 @@ jobs:
depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки' desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
- name: Изменить имя пакета deb
run: |
mw oint_1.11.1_all.deb oint_1.11.1_all_ru.deb
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: oint-deb name: oint-deb
path: | path: |
./*.deb oint_1.11.1_all_ru.deb
- name: Создать каталог rpm-пакета - name: Создать каталог rpm-пакета
run: | run: |
@ -115,12 +119,15 @@ jobs:
mono-devel mono-devel
Requires: mono-locale-extras Requires: mono-locale-extras
- name: Изменить имя пакета rpm
run: |
mw oint-1.11.1-1.el7.x86_64.rpm oint-1.11.1-1.el7.x86_64_ru.rpm
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: oint-rpm name: oint-rpm
path: | path: |
./*.rpm ./oint-1.11.1-1.el7.x86_64_ru.rpm
!./*-debuginfo-*.rpm
Testing-telegram: Testing-telegram:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -87,11 +87,15 @@ jobs:
depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services' desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
- name: Изменить имя пакета deb
run: |
mw oint_1.11.1_all.deb oint_1.11.1_all_en.deb
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: oint-deb name: oint-deb
path: | path: |
./*.deb oint_1.11.1_all_en.deb
- name: Создать каталог rpm-пакета - name: Создать каталог rpm-пакета
run: | run: |
@ -115,6 +119,10 @@ jobs:
mono-devel mono-devel
Requires: mono-locale-extras Requires: mono-locale-extras
- name: Изменить имя пакета rpm
run: |
mw oint-1.11.1-1.el7.x86_64.rpm oint-1.11.1-1.el7.x86_64_en.rpm
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: oint-rpm name: oint-rpm

View File

@ -161,11 +161,15 @@
| depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' | depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
| desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки' | desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
| |
| - name: Изменить имя пакета deb
| run: |
| mw oint_" + Версия + "_all.deb oint_" + Версия + "_all_ru.deb
|
| - uses: actions/upload-artifact@v3 | - uses: actions/upload-artifact@v3
| with: | with:
| name: oint-deb | name: oint-deb
| path: | | path: |
| ./*.deb | oint_" + Версия + "_all_ru.deb
| |
| - name: Создать каталог rpm-пакета | - name: Создать каталог rpm-пакета
| run: | | run: |
@ -189,12 +193,15 @@
| mono-devel | mono-devel
| Requires: mono-locale-extras | Requires: mono-locale-extras
| |
| - name: Изменить имя пакета rpm
| run: |
| mw oint-" + Версия + "-1.el7.x86_64.rpm oint-" + Версия + "-1.el7.x86_64_ru.rpm
|
| - uses: actions/upload-artifact@v4 | - uses: actions/upload-artifact@v4
| with: | with:
| name: oint-rpm | name: oint-rpm
| path: | | path: |
| ./*.rpm | ./oint-" + Версия + "-1.el7.x86_64_ru.rpm");
| !./*-debuginfo-*.rpm");
КонецПроцедуры КонецПроцедуры

View File

@ -161,11 +161,15 @@
| depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all' | depends: 'mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
| desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services' | desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
| |
| - name: Изменить имя пакета deb
| run: |
| mw oint_" + Версия + "_all.deb oint_" + Версия + "_all_en.deb
|
| - uses: actions/upload-artifact@v3 | - uses: actions/upload-artifact@v3
| with: | with:
| name: oint-deb | name: oint-deb
| path: | | path: |
| ./*.deb | ./oint_" + Версия + "_all_en.deb
| |
| - name: Создать каталог rpm-пакета | - name: Создать каталог rpm-пакета
| run: | | run: |
@ -189,12 +193,15 @@
| mono-devel | mono-devel
| Requires: mono-locale-extras | Requires: mono-locale-extras
| |
| - name: Изменить имя пакета rpm
| run: |
| mw oint-" + Версия + "-1.el7.x86_64.rpm oint-" + Версия + "-1.el7.x86_64_en.rpm
|
| - uses: actions/upload-artifact@v4 | - uses: actions/upload-artifact@v4
| with: | with:
| name: oint-rpm | name: oint-rpm
| path: | | path: |
| ./*.rpm | ./oint-" + Версия + "-1.el7.x86_64_en.rpm");
| !./*-debuginfo-*.rpm");
КонецПроцедуры КонецПроцедуры

8
service/deb_template.txt Normal file
View File

@ -0,0 +1,8 @@
Package: oint
Version: %1
Installed-Size: %2
Architecture: all
Maintainer: Anton Titovets <bayselonarrend@gmail.com>
Depends: mono-devel, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all
Description: %3
Homepage: %4