Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
ci: fix version extraction logic in Docker release workflow
Timothy Yin16fd638136b0
diff --git a/.github/workflows/docker-release-ghcr.yml b/.github/workflows/docker-release-ghcr.ymlindex a7c21f9a..b9ff7404 100644--- a/.github/workflows/docker-release-ghcr.yml+++ b/.github/workflows/docker-release-ghcr.yml@@ -39,7 +39,7 @@ jobs:echo "All tags:"git tag -l --sort=-version:refname- if [[ "$VERSION" == *"-"* ]]; then+ if [[ "${{ steps.version.outputs.version }}" == *"-"* ]]; then# 当前为预发布版本,取最近的一个版本PREVIOUS_TAG=$(git tag -l --sort=-version:refname | sed -n '2p')else@@ -58,11 +58,11 @@ jobs:fichangelog=$(echo "$changelog" | sed 's/^\[log\][[:space:]]*//')-+echo "changelog<<EOF" >> $GITHUB_OUTPUTecho "$changelog" >> $GITHUB_OUTPUTecho "EOF" >> $GITHUB_OUTPUT-+- name: 📝 Create Releaseuses: softprops/action-gh-release@v2if: github.ref_type == 'tag'