Skip to content

Commit

Permalink
Merge branch 'v1.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepnschrodinger committed Aug 7, 2023
2 parents eaf85e9 + 28707e9 commit 2beedc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The deploy script will publish the build to gh-pages.
# This workflow will be run whenever a new release is published.

# NOTE (pradeep): I'm having this workflow bail out if the release doesn't target v1.2.x.
# NOTE (pradeep): I'm having this workflow bail out if the release doesn't target v2.0.x
# This is because we don't have a way (yet) to support multiple FDT versions/docs be deployed at the same time,
# and hence we choose to deploy only the most stable release.

Expand Down Expand Up @@ -37,10 +37,10 @@ jobs:
RELEASE_TAG: ${{ github.event.release.tag_name }}

# Check if the release tag name is a stable candidate for deployment
# NOTE (pradeep): Only allow 1.2.x versions to be deployed right now
# NOTE (pradeep): Only allow 2.0.x versions to be deployed right now
run: |
echo "RELEASE_TAG is: " $RELEASE_TAG
if [[ $RELEASE_TAG =~ ^v1\.2\.[0-9]+$ ]];
if [[ $RELEASE_TAG =~ ^v2\.0\.[0-9]+$ ]];
then
echo "This is a stable release!"
echo "::set-output name=is_stable::true"
Expand Down

0 comments on commit 2beedc8

Please sign in to comment.