Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 23d4836

Browse files
authored
SWI-3486 Update LTS Versions Table (#1153)
1 parent 9c7de92 commit 23d4836

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/lts-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Create LTS Versions
22

33
on:
44
schedule:
5-
- cron: '0 0 1,16 * *'
5+
- cron: "0 0 1,16 * *"
66
workflow_dispatch:
77

88
jobs:
@@ -22,7 +22,7 @@ jobs:
2222
if [ $REL_TIME '>' $LTS_TIME ]; then curl -s -X PATCH -H "Accept: application/vnd.github+json" -H "Authorization: token $TOKEN" $GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/$REL_ID -d '{"name":"'"${REL_NAME}-LTS"'"}' > /dev/null; echo "new_lts_zip=$REL_ZIP" >> $GITHUB_OUTPUT; echo "release_name=$REL_NAME" >> $GITHUB_OUTPUT; else echo "no_release=true" >> $GITHUB_OUTPUT; fi # If there has been a non-LTS release since the last LTS release, create a new LTS release
2323
env:
2424
TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
25-
25+
2626
create_lts:
2727
name: Create A New LTS Release
2828
runs-on: ubuntu-latest
@@ -54,8 +54,8 @@ jobs:
5454
uses: Bandwidth/[email protected]
5555
with:
5656
bucket-name: ${{ steps.bucket_name.outputs.bucket_name }}
57-
bucket-expiration: '180'
58-
bucket-region: 'us-east-1'
57+
bucket-expiration: "180"
58+
bucket-region: "us-east-1"
5959
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
6060
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
6161
content-path: ./lts/build
@@ -68,7 +68,7 @@ jobs:
6868
steps:
6969
- name: Checkout
7070
uses: actions/checkout@v3
71-
71+
7272
- name: Configure Git and Create Branch
7373
run: |
7474
git config user.email "[email protected]"
@@ -86,6 +86,6 @@ jobs:
8686
git add site/lts.config.json
8787
git commit -m 'update lts table'
8888
git push origin auto-update-lts
89-
gh pr create -B main -H auto-update-lts --title 'Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow'
89+
gh pr create -B main -H auto-update-lts --title 'SWI-3486 Update LTS Versions Table' --body 'Auto-generated by Create LTS Versions Workflow'
9090
env:
91-
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}
91+
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}

site/lts.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
"v2023.09.15",
23
"v2023.08.30",
34
"v2023.08.15",
45
"v2023.07.31",
@@ -9,6 +10,5 @@
910
"v2023.05.12",
1011
"v2023.04.25",
1112
"v2023.04.12",
12-
"v2023.03.29",
13-
"v2023.03.15"
13+
"v2023.03.29"
1414
]

0 commit comments

Comments
 (0)