# HG changeset patch
# User Edouard Tisserant <edouard.tisserant@gmail.com>
# Date 1660497304 -7200
# Node ID 54c0e2662dd3eb349cde5119f769a54b1eaf1d6c
# Parent  4dd65c75e65168ddf392b7d8e16c3ea3084c5f6a
revisions.txt is expected in $CWD When building Windows installer, in $CWD/sources for Snap. Deal with it for now.

diff -r 4dd65c75e651 -r 54c0e2662dd3 .github/workflows/build_snap.yml
--- a/.github/workflows/build_snap.yml	Sun Aug 14 16:54:43 2022 +0200
+++ b/.github/workflows/build_snap.yml	Sun Aug 14 19:15:04 2022 +0200
@@ -28,11 +28,10 @@
     - name: untar files
       run: tar -xvf build.tar
 
-    - name: Move snap dir in build/sources
+    - name: Move snap dir and revisions.txt in build/sources
       run: |
-        ls -R
         mv beremiz_public_dist/snap build/sources
-        ls build/sources
+        mv build/revisions.txt build/sources/revisions.txt
 
     - name: Invoke snapcraft build
       uses: snapcore/action-build@v1
diff -r 4dd65c75e651 -r 54c0e2662dd3 .github/workflows/prep_sources.yml
--- a/.github/workflows/prep_sources.yml	Sun Aug 14 16:54:43 2022 +0200
+++ b/.github/workflows/prep_sources.yml	Sun Aug 14 19:15:04 2022 +0200
@@ -61,7 +61,7 @@
         touch build/sources/Modbus_src
         touch build/sources/open62541_src
         touch build/own_sources
-        cat >> build/sources/revisions.txt <<EOF
+        cat >> build/revisions.txt <<EOF
         beremiz_public_dist ${{ github.sha }}
         beremiz ${{ env.beremiz_revisionid }}
         matiec ${{ env.matiec_revisionid }}