Skip to content

Commit

Permalink
Bug doc builder (#40)
Browse files Browse the repository at this point in the history
* catching version name to allow doc builder workflow to work e2e

* allow for a1 a2 versions

---------

Co-authored-by: Simon Pagezy <simonpagezy@Simons-MacBook-Pro.local>
  • Loading branch information
pagezyhf and Simon Pagezy authored May 16, 2024
1 parent 8a70783 commit df70073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
cd optimum
version=`echo "$(grep '^__version__ =' tpu/version.py | cut -d '=' -f 2- | xargs)"`
if [[ $version == *.dev0 ]]
if [[ $version == *a* ]]
then
echo "VERSION=main" >> $GITHUB_ENV
else
Expand Down

0 comments on commit df70073

Please sign in to comment.