We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed0e32 commit e543140Copy full SHA for e543140
.github/workflows/pre-release.yml
@@ -1,4 +1,4 @@
1
-name: Release
+name: Pre-Release
2
on:
3
push:
4
branches:
@@ -13,6 +13,12 @@ jobs:
13
- uses: actions/checkout@v4
14
with:
15
fetch-depth: 0
16
+ - name: Check if version is dev
17
+ run: |
18
+ if ! grep -q "\.dev\d" django_prometheus/__init__.py; then
19
+ echo "Version does not contain 'dev', skipping pre-release"
20
+ exit 1
21
+ fi
22
- name: Set up Python 3.9
23
uses: actions/setup-python@v5
24
.github/workflows/release.yml
+name: Release To PyPI
tags:
0 commit comments