Skip to content

Commit

Permalink
Fix github pages documentation generation for tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta committed Jul 23, 2024
1 parent d9bd306 commit ca464fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/documentation-ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
tags:
- '*'

env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
Expand All @@ -26,8 +28,8 @@ jobs:
- name: Build Documentation
run: |
set +ex
VERSION=$(git describe --tags 2>/dev/null)
if [[ $? -ne 0 ]]; then
VERSION=${{ github.ref_name }}
if [[ "$VERSION" = "master" ]]; then
VERSION=development
fi
set -e
Expand Down

0 comments on commit ca464fb

Please sign in to comment.