Skip to content

Commit dd0febe

Browse files
authored
Merge pull request #86 from Lenny4/dev
Dev
2 parents 84d12c2 + 5060fbb commit dd0febe

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,48 @@ jobs:
8989
name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }}
9090
allowUpdates: true
9191
body: ${{ steps.extract-release-notes.outputs.release_notes }}
92+
release-ubuntu-24:
93+
runs-on: ubuntu-24.04
94+
permissions:
95+
contents: write
96+
steps:
97+
- uses: actions/checkout@v3
98+
with:
99+
fetch-depth: 0 # https://github.com/marketplace/actions/get-latest-tag
100+
- uses: subosito/flutter-action@v2 # https://github.com/marketplace/actions/flutter-action
101+
with:
102+
channel: 'stable' # or: 'beta', 'dev' or 'master'
103+
- name: Install dependencies
104+
run: flutter pub get
105+
- name: Install build dependencies
106+
run: sudo apt install -y ninja-build libgtk-3-dev
107+
- run: flutter doctor
108+
- name: Get tag for release
109+
id: currentTag
110+
uses: WyriHaximus/github-action-get-previous-tag@v1 # https://github.com/marketplace/actions/get-latest-tag
111+
- name: Build release linux
112+
run: flutter build linux --release
113+
- name: Copy script files
114+
run: |
115+
cp -R script build/linux/x64/release/bundle/script
116+
- name: Copy ldd files
117+
run: |
118+
ldd build/linux/x64/release/bundle/DeepFaceLabClient
119+
mv build/linux/x64/release/bundle DeepFaceLabClient-linux
120+
bash requirements/linux/import_lib.sh
121+
- name: Zip release linux
122+
run: |
123+
zip -r DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip DeepFaceLabClient-linux
124+
- name: Extract release notes # https://github.com/marketplace/actions/extract-release-notes
125+
id: extract-release-notes
126+
uses: ffurrer2/extract-release-notes@v1
127+
- uses: ncipollo/release-action@v1 # https://github.com/marketplace/actions/create-release
128+
with:
129+
artifacts: DeepFaceLabClient-ubuntu-24-${{ steps.currentTag.outputs.tag }}.zip
130+
tag: ${{ steps.currentTag.outputs.tag }}
131+
name: DeepFaceLabClient-${{ steps.currentTag.outputs.tag }}
132+
allowUpdates: true
133+
body: ${{ steps.extract-release-notes.outputs.release_notes }}
92134
release-windows:
93135
runs-on: windows-latest
94136
permissions:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
### Removed
1212

13+
## [0.4.1] - 2023-09-16
14+
15+
### Added
16+
17+
- Add release for ubuntu 24.
18+
19+
1320
## [0.4.0] - 2023-09-16
1421

1522
### Changed

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 0.4.0
19+
version: 0.4.1
2020

2121
environment:
2222
sdk: '>=2.19.4 <3.0.0'

0 commit comments

Comments
 (0)