File tree Expand file tree Collapse file tree 3 files changed +34
-5
lines changed
web/sites/default/files/sync Expand file tree Collapse file tree 3 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 1212 - main
1313
1414jobs :
15+ version :
16+ name : Detect version
17+ runs-on : ubuntu-latest
18+ outputs :
19+ tag : ${{ steps.version.outputs.tag }}
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+ - name : Install yq
25+ run : |
26+ sudo apt-get install -y yq
27+ - id : version
28+ run : |
29+ TAG=$(yq e '.slogan | sub("^v", "")' web/sites/default/files/sync/system.site.yml)
30+ echo "${TAG}"
31+ echo "tag=${TAG}" >> $GITHUB_OUTPUT
32+ - name : Check git tag
33+ if : startsWith(github.ref, 'refs/tags/v')
34+ run : |
35+ GIT_TAG="${GITHUB_REF#refs/tags/}"
36+ EXPECTED_TAG="v${{ steps.version.outputs.tag }}"
37+ if [[ "${GIT_TAG}" != "${EXPECTED_TAG}" ]]; then
38+ echo "Error: Git tag (${GIT_TAG}) does not match version from system.site.yml (v${{ steps.version.outputs.tag }})"
39+ exit 1
40+ fi
41+
1542 build-artifacts :
43+ needs : [ version ]
44+
1645 strategy :
1746 matrix :
1847 arch : [amd64, arm64]
Original file line number Diff line number Diff line change 11uuid : d7210ad7-748e-46f9-b557-f3f4f4b96ec7
22langcode : en
3- status : false
3+ status : true
44dependencies :
55 module :
66 - system
@@ -19,7 +19,7 @@ settings:
1919 label : ' Site branding'
2020 label_display : ' 0'
2121 provider : system
22- use_site_logo : true
23- use_site_name : true
22+ use_site_logo : false
23+ use_site_name : false
2424 use_site_slogan : true
2525visibility : { }
Original file line number Diff line number Diff line change 22 default_config_hash : VDJxTZtQR21qB4lvOq8zszJZLvLKrSPQpdn2E3T71Ww
33langcode : en
44uuid : 1b923c28-14b0-4fd0-8138-76b453cb5d07
5- name : ' Pinball Power-Up Controller '
5+ name : ' PPUC Config Tool '
66mail : admin@example.com
7- slogan : ' '
7+ slogan : v0.1.3-dev-snapshot
88page :
99 403 : ' '
1010 404 : ' '
You can’t perform that action at this time.
0 commit comments