Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
168c5ad3ac | ||
|
|
5726ff3f62 | ||
|
|
0b93c8c124 | ||
|
|
4cb6fdf540 | ||
|
|
d2e3106632 | ||
|
|
26c5af792e |
No files matched your search
@@ -1,9 +1,12 @@
|
|||||||
name: release
|
name: ci-release
|
||||||
|
|
||||||
"on":
|
"on":
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
tags:
|
tags:
|
||||||
- "v[0-9]*.[0-9]*.[0-9]*"
|
- "v[0-9]*.[0-9]*.[0-9]*"
|
||||||
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -16,7 +19,8 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Verify tag matches VERSION
|
- name: Verify release tag matches VERSION
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
tag="${GITHUB_REF##*/}"
|
tag="${GITHUB_REF##*/}"
|
||||||
@@ -38,6 +42,10 @@ jobs:
|
|||||||
status="$?"
|
status="$?"
|
||||||
test "$status" = 0 || test "$status" = 124
|
test "$status" = 0 || test "$status" = 124
|
||||||
|
|
||||||
|
- name: Verify Linux binary
|
||||||
|
shell: bash
|
||||||
|
run: test -x build/searchmyfiles
|
||||||
|
|
||||||
- name: Lint YAML
|
- name: Lint YAML
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -45,9 +53,10 @@ jobs:
|
|||||||
-v "$PWD:/work" \
|
-v "$PWD:/work" \
|
||||||
-w /work \
|
-w /work \
|
||||||
cytopia/yamllint:latest \
|
cytopia/yamllint:latest \
|
||||||
-c .yamllint .
|
-c .yamllint .gitea
|
||||||
|
|
||||||
linux-amd64:
|
publish-linux-amd64:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
needs: verify
|
needs: verify
|
||||||
runs-on: [self-hosted, linux, arch, homelab]
|
runs-on: [self-hosted, linux, arch, homelab]
|
||||||
env:
|
env:
|
||||||
@@ -131,9 +140,3 @@ jobs:
|
|||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-F "attachment=@${asset}"
|
-F "attachment=@${asset}"
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload workflow artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: folderscope-linux-amd64
|
|
||||||
path: dist/*
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
name: ci
|
|
||||||
|
|
||||||
"on":
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-linux-amd64:
|
|
||||||
runs-on: [self-hosted, linux, arch, homelab]
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Configure release build
|
|
||||||
shell: bash
|
|
||||||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build build --parallel
|
|
||||||
|
|
||||||
- name: Smoke test GUI
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
set +e
|
|
||||||
QT_QPA_PLATFORM=offscreen timeout 3s ./build/searchmyfiles
|
|
||||||
status="$?"
|
|
||||||
test "$status" = 0 || test "$status" = 124
|
|
||||||
|
|
||||||
- name: Upload Linux binary
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: folderscope-linux-amd64
|
|
||||||
path: build/searchmyfiles
|
|
||||||
|
|
||||||
lint-yaml:
|
|
||||||
runs-on: [self-hosted, linux, arch, homelab]
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Lint workflow files
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
docker run --rm \
|
|
||||||
-v "$PWD:/work" \
|
|
||||||
-w /work \
|
|
||||||
cytopia/yamllint:latest \
|
|
||||||
-c .yamllint .
|
|
||||||
@@ -5,6 +5,21 @@ All notable changes to FolderScope are documented here.
|
|||||||
The project uses [Semantic Versioning](https://semver.org/). Release tags are
|
The project uses [Semantic Versioning](https://semver.org/). Release tags are
|
||||||
formatted as `vMAJOR.MINOR.PATCH`.
|
formatted as `vMAJOR.MINOR.PATCH`.
|
||||||
|
|
||||||
|
## [0.2.2] - 2026-07-25
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Scoped workflow YAML linting to the `.gitea` source directory.
|
||||||
|
- Combined CI and tag-gated release publishing into one workflow.
|
||||||
|
|
||||||
|
## [0.2.1] - 2026-07-25
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Removed the incompatible workflow-artifact upload step from Gitea Actions.
|
||||||
|
- Kept the release gate fail-closed: version validation, build, GUI smoke test,
|
||||||
|
and YAML lint must all pass before Gitea release assets are published.
|
||||||
|
|
||||||
## [0.2.0] - 2026-07-25
|
## [0.2.0] - 2026-07-25
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -16,3 +31,5 @@ formatted as `vMAJOR.MINOR.PATCH`.
|
|||||||
reporting.
|
reporting.
|
||||||
|
|
||||||
[0.2.0]: https://gitea.forust.xyz/forust/folderscope/releases/tag/v0.2.0
|
[0.2.0]: https://gitea.forust.xyz/forust/folderscope/releases/tag/v0.2.0
|
||||||
|
[0.2.1]: https://gitea.forust.xyz/forust/folderscope/releases/tag/v0.2.1
|
||||||
|
[0.2.2]: https://gitea.forust.xyz/forust/folderscope/releases/tag/v0.2.2
|
||||||
Reference in new issue
Block a user