Skip to content

Commit

Permalink
Обновил github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Merzlikin-Matvey committed Nov 14, 2024
1 parent 1438cce commit 242b7e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
run: |
echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV
- name: Check if version is pre-release
id: check_prerelease
run: |
if [[ "${{ env.VERSION }}" == *"alpha"* || "${{ env.VERSION }}" == *"beta"* ]]; then
echo "IS_PRERELEASE=true" >> $GITHUB_ENV
else
echo "IS_PRERELEASE=false" >> $GITHUB_ENV
fi
- name: Get latest release version
id: get_latest_release
run: |
Expand All @@ -44,12 +53,12 @@ jobs:
fi
- name: Build package
if: env.NEW_VERSION == 'true'
if: env.NEW_VERSION == 'true' && env.IS_PRERELEASE == 'false'
run: |
poetry build
- name: Create new release
if: env.NEW_VERSION == 'true'
if: env.NEW_VERSION == 'true' && env.IS_PRERELEASE == 'false'
id: create_release
uses: actions/create-release@v1
with:
Expand All @@ -63,7 +72,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}

- name: Upload release asset
if: env.NEW_VERSION == 'true'
if: env.NEW_VERSION == 'true' && env.IS_PRERELEASE == 'false'
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
Expand Down
2 changes: 0 additions & 2 deletions manimextra/animations/fancy_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
]




@deprecated(since="v1.11.4", message="Please, dont use this cringe.")
def Fancy_label(text: manim.Tex, mode='normal', buff=manim.MED_LARGE_BUFF):
"""
Expand Down

0 comments on commit 242b7e2

Please sign in to comment.