Skip to content

dart pub upgrade --major-versions --tighten #94

dart pub upgrade --major-versions --tighten

dart pub upgrade --major-versions --tighten #94

Workflow file for this run

---
name: Create Release
on:
workflow_dispatch:
pull_request:
branches: [main]
types: [closed]
jobs:
create_release:
# See: .github/workflows/create_release_pr.yaml
if: ${{ github.head_ref == 'prepare_for_release' && github.event.pull_request.merged == true }}
env:
RELEASE_DESCRIPTION_TXT_FILE: release_description.txt
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: inject current version
run: echo "CURRENT_VERSION=$(dart pub deps --style compact | grep "pedantic_sensuikan1973" | cut -c 24-)" >> $GITHUB_ENV
- uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ env.CURRENT_VERSION }}
generate_release_notes: true