Skip to content

Remove dry run for now #3

Remove dry run for now

Remove dry run for now #3

Workflow file for this run

name: Tag new version
on:
push:
branches: [main]
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Tag
run: |
sudo git config --global user.name 'Jake'
sudo git config --global user.email 'jakemor@users.noreply.github.com'
sudo git pull
echo "\n\n\n- - - - - VERSION - - - - -\n\n\n"
VERSION=$(grep '^version:' pubspec.yaml | awk '{ print $2 }')
echo $VERSION
echo "\n\n\n- - - - - END VERSION - - - - -\n\n\n"
sudo git tag -a "$VERSION" -m "tags with latest version"
sudo git push --tags || true
sudo git checkout -b "release/$VERSION"
sudo git push -u origin "release/$VERSION"