Skip to content

Commit

Permalink
impl gh action for automated post-release stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilionus committed Feb 19, 2022
1 parent 8e113d4 commit d2b061a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: release tasks

on:
release:
types:
- published

jobs:
attach_theme_files:
name: attach theme files to release
runs-on: "ubuntu-18.04"
env:
release_dir_path: "./release_files"
tdesktop_theme_path: "./TDesktop/DarkShell.tdesktop-theme"
android_theme_path: "./Android/DarkShell.attheme"
ios_theme_path: "./iOS/DarkShell.tgios-theme"
macos_theme_path: "./macOS/DarkShell.palette"

steps:
- uses: actions/checkout@v2

- name: create dir for all files
run: mkdir $release_dir_path

- name: move theme files to release dir
run: |
mv $tdesktop_theme_path $release_dir_path
mv $android_theme_path $release_dir_path
mv $ios_theme_path $release_dir_path
mv $macos_theme_path $release_dir_path
- name: attach files to release
uses: AButler/[email protected]

with:
files: "${{ env.release_dir_path }}/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
### Global Changes
#### Changed
- Preview screenshot updated to current state
- Created `github workflow` for automated post-release actions


## Update 2022.01.07
Expand Down

0 comments on commit d2b061a

Please sign in to comment.