From 68b740260931b6101f44f6dc7f3b430ea16b15b1 Mon Sep 17 00:00:00 2001 From: Marko Toplak Date: Tue, 26 Mar 2024 09:05:53 +0100 Subject: [PATCH] Auto release workflow --- .github/workflows/release.yml | 12 ++++++++++++ RELEASING.md | 14 +++----------- 2 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..d499cbf8a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,12 @@ +name: Release +on: + release: + types: [published] + workflow_dispatch: + +jobs: + release: + uses: biolab/orange-ci-cd/.github/workflows/release.yml@master + with: + pure-python: true + secrets: inherit \ No newline at end of file diff --git a/RELEASING.md b/RELEASING.md index a394b29f8..b9a9f427d 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -44,26 +44,18 @@ BUILD PACKAGES Continue only if conda-build ended without errors! -Push it to github, push also tags: +Push it to GitHub, push also tags: git push upstream master git push upstream --tags -Now, other packages. First build help: - - cd doc && make htmlhelp && cd .. - -Build pypi packages: - - python setup.py sdist bdist_wheel +Create a release on GitHub. Packages should be built and uploaded to PyPi automatically. UPLOAD PACKAGES --------------- -Upload to pypi: - - twine upload dist/packagenames (there are two, .tar.gz and .whl). +Package is uploaded to PyPi automatically. Copy the built conda package to the correct static/conda/noarch folder in the quasar.codes web page. Add the new files and then either push or