diff --git a/.github/workflows/binary-releases.yml b/.github/workflows/binary-releases.yml index 8dea2d89..62dcd133 100644 --- a/.github/workflows/binary-releases.yml +++ b/.github/workflows/binary-releases.yml @@ -83,6 +83,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Pull latest change + run: git pull --autostash --no-edit --gpg-sign --ff origin main - name: Fetch PyApp run: >- mkdir $PYAPP_REPO && curl -L https://github.com/ofek/pyapp/releases/download/v$PYAPP_VERSION/source.tar.gz | tar --strip-components=1 -xzf - -C $PYAPP_REPO @@ -182,6 +184,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} + - name: Pull latest change + run: git pull --autostash --no-edit --gpg-sign --ff origin main - name: Install PyOxidizer ${{ env.PYOXIDIZER_VERSION }} run: pip install pyoxidizer==${{ env.PYOXIDIZER_VERSION }} - name: Download staged binaries @@ -234,6 +238,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + - name: Pull latest change + run: git pull --autostash --no-edit --gpg-sign --ff origin main - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 37fb931b..6116e93d 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -15,6 +15,11 @@ name: release-notes on: workflow_dispatch: + inputs: + tags: + description: 'Tag for releases' + required: true + type: string workflow_call: inputs: tags: @@ -68,6 +73,7 @@ jobs: generate_release_notes: true body_path: release_notes.txt fail_on_unmatched_files: true + tag_name: 'v${{ inputs.tags }}' files: |- dist/* archives/*