Skip to content

Commit

Permalink
ci: fix retrofit publish eorkflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwang committed Oct 12, 2023
1 parent 0c14aff commit c8ca648
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-retrofit.yml
Expand Up @@ -24,8 +24,7 @@ jobs:
- name: Release new version
run: |
cd retrofit
RELEASE=${GITHUB_REF##*/}
RELEASE=${echo "${RELEASE}" | sed -e "s/retrofit-//g"}
RELEASE=${GITHUB_REF##*/retrofit-}
sed -i -e "s/version:.*/version: $RELEASE/g" pubspec.yaml
- name: Publish
run: cd retrofit && dart pub publish --force

0 comments on commit c8ca648

Please sign in to comment.