Skip to content

Commit 8d4bd42

Browse files
authored
Merge pull request #1750 from walt-id/WAL-1019
Wal 1019
2 parents 6190b79 + 754286f commit 8d4bd42

4 files changed

Lines changed: 84 additions & 37 deletions

File tree

.github/workflows/enterprise-tag.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,90 @@ jobs:
5555
oss: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-identity-main' || 'identity-main' }}
5656
enterprise: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-enterprise-main' || 'enterprise-main' }}
5757
tag:
58-
uses: walt-id/waltid-identity/.github/workflows/tag.yml@8fcefa7d4f599104fbcffc982133848eef3035ac
58+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
59+
secrets: inherit
5960
needs: [ version, deploy ]
6061
with:
6162
version: ${{ needs.version.outputs.release_version }}
6263
enterprise-tag:
63-
uses: walt-id/waltid-identity/.github/workflows/enterprise-tag.yml@8fcefa7d4f599104fbcffc982133848eef3035ac
64+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
65+
secrets: inherit
66+
needs: [ version, deploy ]
67+
with:
68+
version: ${{ needs.version.outputs.release_version }}
69+
repository: walt-id/waltid-identity-enterprise
70+
docs-tag:
71+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
72+
secrets: inherit
73+
needs: [ version, deploy ]
74+
with:
75+
version: ${{ needs.version.outputs.release_version }}
76+
repository: walt-id/waltid-docs
77+
quickstart-tag:
78+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
79+
secrets: inherit
80+
needs: [ version, deploy ]
81+
with:
82+
version: ${{ needs.version.outputs.release_version }}
83+
repository: walt-id/waltid-enterprise-quickstart
84+
unified-build-tag:
85+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
6486
secrets: inherit
6587
needs: [ version, deploy ]
6688
with:
6789
version: ${{ needs.version.outputs.release_version }}
90+
repository: walt-id/waltid-unified-build
6891
release:
6992
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@cf46ed618f9b296fd9b63c7207ca288855bb5343
7093
secrets: inherit
7194
needs: [ tag ]
7295
with:
73-
tag: ${{ needs.tag.outputs.tag }}
96+
tag: ${{ needs.tag.outputs.tag }}
97+
enterprise-release:
98+
name: Create Enterprise Release
99+
runs-on: ubuntu-latest
100+
needs: [ enterprise-tag ]
101+
steps:
102+
- name: Create Release
103+
uses: softprops/action-gh-release@v3
104+
with:
105+
token: ${{ secrets.GH_ACCESS_TOKEN }}
106+
repository: walt-id/waltid-identity-enterprise
107+
tag_name: ${{ needs.enterprise-tag.outputs.tag }}
108+
prerelease: ${{ contains(needs.enterprise-tag.outputs.tag, 'PRE-RELEASE') }}
109+
docs-release:
110+
name: Create Docs Release
111+
runs-on: ubuntu-latest
112+
needs: [ docs-tag ]
113+
steps:
114+
- name: Create Release
115+
uses: softprops/action-gh-release@v3
116+
with:
117+
token: ${{ secrets.GH_ACCESS_TOKEN }}
118+
repository: walt-id/waltid-docs
119+
tag_name: ${{ needs.docs-tag.outputs.tag }}
120+
prerelease: ${{ contains(needs.docs-tag.outputs.tag, 'PRE-RELEASE') }}
121+
quickstart-release:
122+
name: Create Quickstart Release
123+
runs-on: ubuntu-latest
124+
needs: [ quickstart-tag ]
125+
steps:
126+
- name: Create Release
127+
uses: softprops/action-gh-release@v3
128+
with:
129+
token: ${{ secrets.GH_ACCESS_TOKEN }}
130+
repository: walt-id/waltid-enterprise-quickstart
131+
tag_name: ${{ needs.quickstart-tag.outputs.tag }}
132+
prerelease: ${{ contains(needs.quickstart-tag.outputs.tag, 'PRE-RELEASE') }}
133+
unified-build-release:
134+
name: Create Unified Build Release
135+
runs-on: ubuntu-latest
136+
needs: [ unified-build-tag ]
137+
steps:
138+
- name: Create Release
139+
uses: softprops/action-gh-release@v3
140+
with:
141+
token: ${{ secrets.GH_ACCESS_TOKEN }}
142+
repository: walt-id/waltid-unified-build
143+
tag_name: ${{ needs.unified-build-tag.outputs.tag }}
144+
prerelease: ${{ contains(needs.unified-build-tag.outputs.tag, 'PRE-RELEASE') }}

.github/workflows/tag.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
description: "release version"
88
required: true
99
type: string
10+
repository:
11+
description: "repository to tag (default: current repo)"
12+
required: false
13+
type: string
14+
default: ${{ github.repository }}
1015
outputs:
1116
tag:
1217
description: "The tag"
@@ -20,10 +25,13 @@ jobs:
2025
result: ${{ steps.tag.outputs.tag }}
2126
steps:
2227
- uses: actions/checkout@v6
28+
with:
29+
repository: ${{ inputs.repository }}
30+
token: ${{ secrets.GH_ACCESS_TOKEN || github.token }}
2331
- name: Create and push the git tag
2432
id: tag
2533
run: |
2634
tag=v${{ inputs.version }}
2735
git tag $tag
2836
git push --tags
29-
echo "tag=${tag}" >> $GITHUB_OUTPUT
37+
echo "tag=${tag}" >> $GITHUB_OUTPUT

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
version: ${{ needs.version.outputs.release_version }}
5050
tag:
51-
uses: walt-id/waltid-identity/.github/workflows/tag.yml@8fcefa7d4f599104fbcffc982133848eef3035ac
51+
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
5252
needs: [ version, deploy ]
5353
with:
5454
version: ${{ needs.version.outputs.release_version }}

0 commit comments

Comments
 (0)