Skip to content

Commit 4de0d8a

Browse files
committed
Add extra manifest for third party folder
Avoid softprops
1 parent 6414854 commit 4de0d8a

File tree

24 files changed

+51
-29
lines changed

24 files changed

+51
-29
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permissions: {}
1010
env:
1111
CARGO_TERM_COLOR: always
1212
RELEASE_BIN: label
13+
RELEASE_BASE: flu-amd
1314
REGISTRY: ghcr.io
1415

1516
jobs:
@@ -28,33 +29,32 @@ jobs:
2829
shell: bash
2930
run: |
3031
CHANGELOG_CONTENT=$(perl .github/scripts/last_release_notes.pl)
31-
echo "changelog<<EOF" >> $GITHUB_OUTPUT
32-
echo "$CHANGELOG_CONTENT" >> $GITHUB_OUTPUT
33-
echo "EOF" >> $GITHUB_OUTPUT
32+
echo -e "changelog<<EOF\n$CHANGELOG_CONTENT\nEOF" >> $GITHUB_OUTPUT
3433
3534
- name: Create Source Code Archive
3635
id: create_archive
3736
shell: bash
3837
run: |
39-
ARCHIVE_NAME="${{ env.RELEASE_BIN }}-${{ github.ref_name }}-universal.zip"
40-
rm -rf .git* .vscode .docker* .*rc Dockerfile \
41-
&& zip -r "${ARCHIVE_NAME}" . \
42-
&& echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
38+
ARCHIVE_NAME="$RUNNER_TEMP/${{ env.RELEASE_BIN }}-${{ github.ref_name }}-universal.zip"
39+
base=${{ env.RELEASE_BASE }}
40+
41+
cd .. && mv label $base \
42+
&& zip -r "${ARCHIVE_NAME}" . -x "$base/.git*" "$base/.vscode" "$base/.docker*" "$base/.*rc" "$base/Dockerfile" \
43+
&& echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT \
44+
&& mv $base label
4345
4446
- name: Create Release
4547
id: create_release
46-
uses: softprops/action-gh-release@v2
47-
with:
48-
body: ${{ steps.extract_changelog.outputs.changelog }}
49-
draft: false
50-
prerelease: false
51-
files: ${{ steps.create_archive.outputs.archive_name }}
48+
shell: bash
49+
run: |
50+
gh release create "${{ github.ref_name }}" "${{ steps.create_archive.outputs.archive_name }}" \
51+
--title "${{ github.ref_name }}" \
52+
--notes "${{ steps.extract_changelog.outputs.changelog }}"
5253
env:
5354
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5455

5556
build-release-images:
5657
name: Build and Push Release Image
57-
needs: [create-release]
5858
strategy:
5959
matrix:
6060
include:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ log.txt
33
LABEL_RES/training_data/B_HA-old/
44
LABEL_RES/test_data/
55
tests
6-
.*DS_Store
6+
.DS_Store
77
LABEL_RES/training_data/meno-H1

LABEL_RES/scripts/.DS_Store

-6 KB
Binary file not shown.

LABEL_RES/test_data/.DS_Store

-6 KB
Binary file not shown.

LABEL_RES/third_party/MANIFEST.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Third Party Software Manifest
2+
3+
- [GNU Parallel]
4+
- Artifacts: `parallel`
5+
- Requires: system Perl
6+
- Purpose: parallelization
7+
- License: [GPL v3]
8+
- [SHOGUN] version 1.1.0 (2.1+ is not compatible)
9+
- Artifacts: `shogun` (cmdline_static)
10+
- Provided architectures: linux/x86_64, linux/aarch64, apple/x86_64 (arm64 via Rosetta2)
11+
- Purpose: executes the SVM decision phase.
12+
- License: [GPL v3]
13+
- [SAM] version 3.5
14+
- Artifacts: `align2model`, `hmmscore`, `modelfromalign`
15+
- Provided architectures: linux/x86_64, linux/aarch64, apple/universal (arm64 + intel)
16+
- Purpose: build HMM profiles, score sequences for evaluation
17+
- License: [Custom][sam-license] academic/government, not-for-profit, redistributed [with permission]
18+
19+
[GNU Parallel]: https://www.gnu.org/software/parallel/
20+
[with permission]: copyright_and_licenses/sam3.5/SAM%20Redistribution%20Special%20Permissions.pdf
21+
[GPL v3]: https://www.gnu.org/licenses/gpl-3.0.txt
22+
[SHOGUN]: https://github.com/shogun-toolbox/
23+
[sam-license]: https://users.soe.ucsc.edu/~karplus/projects-compbio-html/sam-lic/obj.0
24+
[SAM]: https://users.soe.ucsc.edu/~karplus/projects-compbio-html/sam2src/
-6 KB
Binary file not shown.
-6 KB
Binary file not shown.

LABEL_RES/training_data/.DS_Store

-6 KB
Binary file not shown.
-6 KB
Binary file not shown.
-6 KB
Binary file not shown.

0 commit comments

Comments
 (0)