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

Conversation

JacobCoffee
Copy link
Member

A new Litestar release (v2.8.2) has been detected.
This PR updates the version in the conf.py file and the CURRENT_VERSION in the workflow file.

@JacobCoffee JacobCoffee requested review from a team as code owners April 10, 2024 05:01
@@ -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

@@ -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

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants