소스 검색

Fix dirty snap release.
https://stackoverflow.com/questions/16035240/why-is-git-describe-dirty-adding-a-dirty-suffix-when-describing-a-clean-ch
https://forum.snapcraft.io/t/dirty-snap-release/12975

Thanks to xet7.

Lauri Ojansivu 5 년 전
부모
커밋
007c064672
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      snapcraft.yaml

+ 1 - 1
snapcraft.yaml

@@ -1,6 +1,6 @@
 name: wekan
 name: wekan
 version: 0
 version: 0
-version-script: git describe --dirty --tags |  cut -c 2-
+version-script: git update-index --refresh && git describe --dirty --tags |  cut -c 2-
 summary: The open-source kanban
 summary: The open-source kanban
 description: |
 description: |
    Wekan is an open-source and collaborative kanban board application.
    Wekan is an open-source and collaborative kanban board application.