Skip to content

Commit a074b54

Browse files
authored
Beta ci updates (#1656)
* ci: derive beta package version from UTC date-time (PEP 440) Replace commit-count suffix after 199b6c3 with YYYYMMDDHHMM UTC so PyPI/conda beta builds are time-stamped and sortable. * including beta in the automated testing workflow
1 parent 547cbd3 commit a074b54

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/ISSUE_TEMPLATE/beta_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ body:
2626
attributes:
2727
label: Version
2828
description: Please specify the version of the Activity Browser you are using.
29-
placeholder: e.g. 3.0.0b940
29+
placeholder: e.g. 3.0.0b202503221430 (from About / pip show)
3030
- type: dropdown
3131
id: distribution
3232
attributes:

.github/workflows/python-package-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: "0"
23+
# PEP 440 beta: 3.0.0b + YYYYMMDDHHMM (UTC). Sortable; no hyphens (invalid in public versions).
2324
- name: Set version
24-
run: echo "VERSION=3.0.0b$(git rev-list 199b6c3..HEAD --count)" >> $GITHUB_ENV
25+
run: echo "VERSION=3.0.0b$(date -u +%Y%m%d%H%M)" >> $GITHUB_ENV
2526
- name: Set up Python 3.11
2627
uses: actions/setup-python@v5
2728
with:

.github/workflows/testing.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
pull_request:
44
branches:
55
- major
6+
- beta
67
push:
78
branches:
89
- major
10+
- beta
911

1012
jobs:
1113
tests:

0 commit comments

Comments
 (0)