fix(ci): fetch correct tags for branch

This reverts commit 47e49186e1d2b2bcca0153db1cd47efecbbbf82b.

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron
2023-06-29 00:14:21 -04:00
parent 7de2298f21
commit 03bc04216b
2 changed files with 12 additions and 0 deletions

View File

@@ -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:

View File

@@ -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/*