diff --git a/.github/ISSUE_TEMPLATE/beta_report.yml b/.github/ISSUE_TEMPLATE/beta_report.yml index 08340e01a..f1df6d14f 100644 --- a/.github/ISSUE_TEMPLATE/beta_report.yml +++ b/.github/ISSUE_TEMPLATE/beta_report.yml @@ -26,7 +26,7 @@ body: attributes: label: Version description: Please specify the version of the Activity Browser you are using. - placeholder: e.g. 3.0.0b940 + placeholder: e.g. 3.0.0b202503221430 (from About / pip show) - type: dropdown id: distribution attributes: diff --git a/.github/workflows/python-package-deploy.yml b/.github/workflows/python-package-deploy.yml index b203ac865..ebc0b5ece 100644 --- a/.github/workflows/python-package-deploy.yml +++ b/.github/workflows/python-package-deploy.yml @@ -20,8 +20,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: "0" + # PEP 440 beta: 3.0.0b + YYYYMMDDHHMM (UTC). Sortable; no hyphens (invalid in public versions). - name: Set version - run: echo "VERSION=3.0.0b$(git rev-list 199b6c3..HEAD --count)" >> $GITHUB_ENV + run: echo "VERSION=3.0.0b$(date -u +%Y%m%d%H%M)" >> $GITHUB_ENV - name: Set up Python 3.11 uses: actions/setup-python@v5 with: diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index ec25e782e..4318f5f90 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -3,9 +3,11 @@ on: pull_request: branches: - major + - beta push: branches: - major + - beta jobs: tests: