Skip to content

Commit 4b9c469

Browse files
update release trigger
1 parent 15fa93c commit 4b9c469

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Upload Python Package
22

33
on:
4-
release:
5-
types: [created]
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*.*.*"
68

79
jobs:
8-
pypi:
10+
release:
911
runs-on: ubuntu-latest
1012

1113
steps:
@@ -40,7 +42,7 @@ jobs:
4042
uses: softprops/action-gh-release@v1
4143
id: create_release
4244
with:
43-
draft: true
45+
draft: false
4446
prerelease: false
4547
name: ${{ env.VERSION }}
4648
tag_name: ${{ env.VERSION }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ python3 main.py
3030

3131
you can verify that BACS is working correctly (eg. there is no `git diff` in the results folder after execution).
3232

33+
By pushing a new tag "vX.Y.Z" to the repository, the package will be automatically built and uploaded to PyPI.
34+
3335
## Resources
3436

3537
Further explanation and visualization can be found on the [BACS project page](https://www.ipb.uni-bonn.de/data-software/bacs/), the corresponding [Matlab demo](https://www.ipb.uni-bonn.de/html/software/bacs/v0.1/demo-v0.1.html) as well as the original [publication](https://www.isprs-ann-photogramm-remote-sens-spatial-inf-sci.net/I-3/75/2012/isprsannals-I-3-75-2012.pdf).

0 commit comments

Comments
 (0)