Skip to content

Commit

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

0 comments on commit 8d18931

Please sign in to comment.