Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Assembly v 2.0.4 (1.05.22)
Browse files Browse the repository at this point in the history
  • Loading branch information
adslbarxatov committed Apr 30, 2022
1 parent 338dd6a commit 3853a8f
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Действие, формирующее релиз
name: Release

# Активация по ручному вызову
on:
push:
branches: [ main ]
paths: .release/Release.md

# Содержит одно задание build с названием Project release с несколькими шагами
jobs:
build:
name: Project release
runs-on: ubuntu-latest

# Константы, используемые далее по тексту
env:
PROJ: EnchantIt
TAG: 2.0.4

steps:
# Проверка состава репозитория
- name: Checkout code
uses: actions/checkout@v2

# Формирование релиза
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.TAG }}
release_name: ${{ env.PROJ }} v ${{ env.TAG }}
body_path: .release/Release.md
draft: false
prerelease: false

# Загрузка бинарных файлов в релиз
- name: Upload release asset
id: upload-release-asset
uses: actions/github-script@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs').promises;
const { repo: { owner, repo }, sha } = context;
await fs.unlink (`./.release/Release.md`);
for (let file of await fs.readdir('./.release')){
await github.repos.uploadReleaseAsset({
owner, repo,
release_id: ${{ steps.create_release.outputs.id }},
name: file,
data: await fs.readFile(`./.release/${file}`)
});
}
File renamed without changes.
8 changes: 8 additions & 0 deletions .release/Release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
_Изменения для v 2.0.4_:
- Xamarin support libraries have been updated;
- Some adjustments applied to the user interface;
- Added some extra warnings about the availability of the app;
- Implemented the “messaging system”: app now able to translate PRNG flow into “pseudotext” messages with probability of meaningful answers. The next step will open translation into small images (in progress for now);
- User interface has been improved;
- Some tips and texts have been updated;
- User guide has been updated

0 comments on commit 3853a8f

Please sign in to comment.