chore(actions): avoid bumping in CI

This commit is contained in:
Erica Marigold 2024-11-12 21:02:59 +05:30 committed by GitHub
parent 8537131cd0
commit 63215da70b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,10 +12,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Get version from tag
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Download pesde
run: |
# Figure out the latest release
@ -37,9 +33,5 @@ jobs:
echo '[tokens]' > $HOME/.pesde/config.toml
echo '"https://github.com/daimond113/pesde-index.git" = "${{ secrets.PESDE_TOKEN }}"' >> $HOME/.pesde/config.toml
- name: Update version
run: |
sed -i "s/version = .*/version = \"${{ steps.get_version.outputs.VERSION }}\"/" pesde.toml
- name: Publish
run: pesde publish --dry-run