Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/rfc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ jobs:
- name: Bump I-D version
run: perl -pe 's/open-cloud-mesh-(\d+)/"open-cloud-mesh-" . sprintf("%02d", $1 + 1)/e' -i IETF-RFC.md || exit -1

- name: Convert Markdown to XML
run: kramdown-rfc IETF-RFC.md > IETF-RFC.xml
- name: Convert Markdown to XML and save output
id: convert
run: |
result=$(kramdown-rfc IETF-RFC.md > IETF-RFC.xml > 2>&1 > /dev/null)
echo "result<<EOF" >> $GITHUB_OUTPUT
echo "$result" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- uses: actions/upload-artifact@v4
with:
Expand All @@ -45,7 +50,7 @@ jobs:
commit-message: 'CI: regenerate IETF-RFC.xml for Datatracker'
signoff: true
title: 'Regenerate IETF-RFC.xml'
body: 'This autogenerated PR bumps the IETF version of the I-D and prepares the IETF-RFC.xml file for submission to the [IETF Datatracker](https://datatracker.ietf.org/submit)'
body: 'This autogenerated PR bumps the IETF version of the I-D and prepares the IETF-RFC.xml file for submission to the [IETF Datatracker](https://datatracker.ietf.org/submit).\n\nThe conversion produced the output below:\n```${{ steps.get_output.convert.result }}```'
reviewers: |
glpatcern
MahdiBaghbani
Expand Down
2 changes: 1 addition & 1 deletion IETF-RFC.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Open Cloud Mesh'
docname: draft-lopresti-open-cloud-mesh-05
docname: draft-lopresti-open-cloud-mesh-04
category: std

ipr: trust200902
Expand Down
Loading