Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Litestar version to v2.8.2 #26

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/update-toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Update conf.py
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
env:
CURRENT_VERSION: v2.8.2
CURRENT_VERSION: v2.8.2v2.8.2
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fail

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no

run: |
sed -i "s/Litestar $CURRENT_VERSION/Litestar ${{ steps.latest_release.outputs.version }}/g" conf.py
sed -i "s|/release-notes/changelog.html#$CURRENT_VERSION|/release-notes/changelog.html#${{ steps.latest_release.outputs.version }}|g" conf.py

- name: Update workflow file
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
run: |
sed -i "s/CURRENT_VERSION: $CURRENT_VERSION/CURRENT_VERSION: ${{ steps.latest_release.outputs.version }}/g" .github/workflows/update-toast.yml
sed -i "s/CURRENT_VERSION: v2.8.2$CURRENT_VERSION/CURRENT_VERSION: v2.8.2${{ steps.latest_release.outputs.version }}/g" .github/workflows/update-toast.yml

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suppose its not meant to be doing this either?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah.. im no sed guru..


- name: Create pull request
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
Expand Down
Loading