Skip to content

Commit

Permalink
fix(ci): apply reverted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Apr 10, 2024
1 parent 0c6a126 commit c430269
Showing 1 changed file with 2 additions and 2 deletions.
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 docs/conf.py
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
env:
CURRENT_VERSION: 2.8.2
CURRENT_VERSION: 2.6
run: |
sed -i "s/\"title\": \"Litestar [0-9.]* has just been released!\"/\"title\": \"Litestar ${{ steps.latest_release.outputs.version }} has just been released!\"/" docs/conf.py
sed -i "s|https://docs.litestar.dev/[0-9.]*/release-notes/changelog.html#[0-9.]*|https://docs.litestar.dev/latest/release-notes/changelog.html#${{ steps.latest_release.outputs.version }}|" docs/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 "/^CURRENT_VERSION: /s/: .*/: ${{ steps.latest_release.outputs.version }}/" .github/workflows/update-toast.yml
- name: Create pull request
if: steps.latest_release.outputs.version != env.CURRENT_VERSION
Expand Down

0 comments on commit c430269

Please sign in to comment.