Skip to content

Commit 083481d

Browse files
asadekasampmai
andauthored
Update release.yml (#893)
* Add new repositories osi-cpp, osi-python, qc-osi-trace * Adjust remote tag update triggering due to topology * Also qc-osi-trace will be released separately to OSI, as it is version independent and requires manual adjustment for new releases. * Bump minor version from 7 to 8 Signed-off-by: Pierre R. Mai <pmai@pmsf.de> Co-authored-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 3ae2a04 commit 083481d

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,42 @@ jobs:
3838
runs-on: ubuntu-22.04
3939
needs: [setup]
4040
steps:
41-
- name: Update OSMP
41+
- name: Update Documentation
4242
uses: peter-evans/repository-dispatch@v2
4343
with:
4444
token: ${{ secrets.MACHINE_USER_PAT }}
4545
event-type: update-tag
46-
repository: OpenSimulationInterface/osi-sensor-model-packaging
46+
repository: OpenSimulationInterface/osi-documentation
47+
client-payload: '{"tag": "v${{needs.setup.outputs.output1}}"}'
48+
- name: Update OSI CPP
49+
uses: peter-evans/repository-dispatch@v2
50+
with:
51+
token: ${{ secrets.MACHINE_USER_PAT }}
52+
event-type: update-tag
53+
repository: OpenSimulationInterface/osi-cpp
4754
client-payload: '{"tag": "v${{needs.setup.outputs.output1}}", "suffix": "${{needs.setup.outputs.output3}}", "source_repo": "${{ github.repository }}"}'
48-
- name: Update Documentation
55+
- name: Update OSI Python
4956
uses: peter-evans/repository-dispatch@v2
5057
with:
5158
token: ${{ secrets.MACHINE_USER_PAT }}
5259
event-type: update-tag
53-
repository: OpenSimulationInterface/osi-documentation
54-
client-payload: '{"tag": "v${{needs.setup.outputs.output1}}"}'
60+
repository: OpenSimulationInterface/osi-python
61+
client-payload: '{"tag": "v${{needs.setup.outputs.output1}}", "suffix": "${{needs.setup.outputs.output3}}", "source_repo": "${{ github.repository }}"}'
62+
- name: Provide downstream repos some time
63+
uses: whatnick/wait-action@v0.1.2
64+
with:
65+
time: '3m'
66+
- name: Update OSMP
67+
uses: peter-evans/repository-dispatch@v2
68+
with:
69+
token: ${{ secrets.MACHINE_USER_PAT }}
70+
event-type: update-tag
71+
repository: OpenSimulationInterface/osi-sensor-model-packaging
72+
client-payload: '{"tag": "v${{needs.setup.outputs.output1}}", "suffix": "${{needs.setup.outputs.output3}}", "source_repo": "${{ github.repository }}"}'
5573
- name: Provide downstream repos some time
5674
uses: whatnick/wait-action@v0.1.2
5775
with:
58-
time: '1m'
76+
time: '2m'
5977

6078

6179
## Antora job, responsible for creating the Antora output of the release

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VERSION_MAJOR = 3
2-
VERSION_MINOR = 7
2+
VERSION_MINOR = 8
33
VERSION_PATCH = 0

0 commit comments

Comments
 (0)