Skip to content

Commit 58c159c

Browse files
Rename layer5-cloud to meshery-cloud in workflow
Signed-off-by: pontus <170570911+pontusringblom@users.noreply.github.com>
1 parent e169275 commit 58c159c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/cloud-release-docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
token: ${{ secrets.GH_ACCESS_TOKEN }}
1414
repository: layer5io/docs
1515
- name: Get Latest Cloud Release
16-
id: layer5-cloud
16+
id: meshery-cloud
1717
env:
1818
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
1919
run: |
2020
release_tag=$(curl -sL -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/layer5io/meshery-cloud/releases/latest | jq -r ".tag_name")
2121
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
22-
current_tag=$(<build/layer5-cloud.version)
22+
current_tag=$(<build/meshery-cloud.version)
2323
echo "current_tag=$current_tag" >> $GITHUB_OUTPUT
2424
- name: Get Release Info
25-
if: steps.layer5-cloud.outputs.current_tag != steps.layer5-cloud.outputs.release_tag
25+
if: steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
2626
env:
2727
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
2828
run: |
@@ -34,17 +34,17 @@ jobs:
3434
export DATE=$( cat latest_release.json | jq '.["published_at"]' | tr -d '"')
3535
printf '%b\n' "---\ntitle: $RELEASE_TAG\ndate: $DATE\ntag: $RELEASE_TAG\nprerelease: $PRERELEASE\ntoc_hide: true\n---\n\n$RELEASE_BODY" > ./content/en/cloud/reference/releases/$RELEASE_TAG.md
3636
- name: Update current release version
37-
if: steps.layer5-cloud.outputs.current_tag != steps.layer5-cloud.outputs.release_tag
37+
if: steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
3838
run: |
39-
echo ${{ steps.layer5-cloud.outputs.release_tag }} > build/layer5-cloud.version
39+
echo ${{ steps.meshery-cloud.outputs.release_tag }} > build/meshery-cloud.version
4040
- name: Commit changes
41-
if: steps.layer5-cloud.outputs.current_tag != steps.layer5-cloud.outputs.release_tag
41+
if: steps.meshery-cloud.outputs.current_tag != steps.meshery-cloud.outputs.release_tag
4242
uses: stefanzweifel/git-auto-commit-action@v7
4343
with:
44-
commit_message: "Release Notes Cloud version ${{ steps.layer5-cloud.outputs.release_tag }}"
44+
commit_message: "Release Notes Cloud version ${{ steps.meshery-cloud.outputs.release_tag }}"
4545
branch: master
4646
commit_options: "--signoff"
47-
file_pattern: 'build/layer5-cloud.version ./content/en/cloud/reference/releases/${{ steps.layer5-cloud.outputs.release_tag }}.md'
47+
file_pattern: 'build/meshery-cloud.version ./content/en/cloud/reference/releases/${{ steps.meshery-cloud.outputs.release_tag }}.md'
4848
commit_user_name: l5io
4949
commit_user_email: ci@layer5.io
5050
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>

0 commit comments

Comments
 (0)