Skip to content

Commit 1bc3603

Browse files
committed
Fix scheduled publication of -builtins
There is no `environment` set when running scheduled. Fixes #286
1 parent f2fb7e4 commit 1bc3603

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/release-builtins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Check necessity of release
3939
id: check
4040
env:
41-
PYPI: ${{ github.event.inputs.environment }}
41+
PYPI: ${{ github.event.inputs.environment || 'pypy' }}
4242
REF: ${{ inputs.tag || 'HEAD' }}
4343
run: |
4444
case $PYPI in

ua-parser-builtins/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
# Precompiled ruleset for [ua-parser](https://pypi.org/project/ua-parser/)
1+
# Precompiled ruleset for [ua-parser]
22

33
This project does not do anything on its own, nor does it have any
4-
actual API: it contains the dataset of
5-
[uap-core](https://github.com/ua-parser/uap-core) pre-compiled for use
6-
by [ua-parser](https://pypi.org/project/ua-parser/) to decrease
4+
actual API: it contains the dataset of [uap-core] pre-compiled for use
5+
by [ua-parser] to decrease
76
initialisation times.
7+
8+
The precompiled ruleset is released monthly based on whatever
9+
[uap-core]'s default branch is at that moment. The [uap-core] commit
10+
used for creating the compiled ruleset is stored in the `REVISION`
11+
file at the root of the wheel.
12+
13+
[ua-parser]: https://pypi.org/project/ua-parser/
14+
[uap-core]: https://github.com/ua-parser/uap-core

0 commit comments

Comments
 (0)