Skip to content

Commit b5670c3

Browse files
authored
Merge pull request #7 from techman83/optimise_release_process
Update Release Process
2 parents 6bcde5f + 4e96a95 commit b5670c3

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

.github/workflows/release.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- filament_scale_enhanced/fse_version.py
79

810
jobs:
911
release:
@@ -24,9 +26,9 @@ jobs:
2426
- name: Run pytest
2527
run: pytest -v
2628
- name: Build package
27-
run: python setup.py sdist
29+
run: python setup.py sdist --formats=zip
2830
- name: Rename build artifact
29-
run: find dist/. -name "*.tar.gz" -type f -exec bash -c 'x="{}"; mv -v "$x" "${x// /_}"' \;
31+
run: find dist/. -name "*.zip" -type f -exec bash -c 'x="{}"; mv -v "$x" "Filament_Scale_Enhanced.zip"' \;
3032
- uses: "marvinpinto/action-automatic-releases@latest"
3133
with:
3234
repo_token: "${{ secrets.GITHUB_TOKEN }}"
@@ -35,4 +37,4 @@ jobs:
3537
automatic_release_tag: "v${{ env.VERSION }}"
3638
files: |
3739
LICENSE.txt
38-
dist/*.tar.gz
40+
dist/Filament_Scale_Enhanced.zip

.github/workflows/test.yml

-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ on:
44
push:
55
branches-ignore:
66
- main
7-
- development
87
pull_request:
9-
branches-ignore:
10-
- main
118

129
jobs:
1310
test:

.github/workflows/test_release.yml

-26
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.2.3"
1+
VERSION = "0.2.4"

0 commit comments

Comments
 (0)