Skip to content

Commit

Permalink
update pubspec.yml to accept tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwang committed Oct 9, 2021
1 parent a38d5c3 commit c60ac9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ jobs:
echo ${{secrets.PUB_CREDENTIALS}} | base64 --decode > ~/.pub-cache/credentials.json
- name: Release new version
run: |
cd generator && pub publish -f
cd generator
RELEASE=${GITHUB_REF##*/}
sed -i -e "s/version:.*/version: $RELEASE/g" pubspec.yaml
pub publish -f
1 change: 0 additions & 1 deletion generator/example

This file was deleted.

0 comments on commit c60ac9f

Please sign in to comment.