Skip to content

Commit

Permalink
Release version 0.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Wortmann committed Jan 22, 2025
1 parent f8f88e2 commit 57a03d9
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 4 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
push:
tags:
- 'v*'
workflow_dispatch: # Allow manual triggering


permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CHANGE LOG

## development


## v0.8 (2025-01-22)
* Support GRASS version 8
* settings.FunctionInfo: support project functions of builtin type.
* Stability fixes.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ version:
git tag $$new

release:
python setup.py sdist
#python setup.py sdist
git push
git push --tags
twine upload dist/*
#twine upload dist/* # doesnt work anymore, now done by .github/workflows


docs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
modelmanager
===============================

Version number: 0.7
Version number: 0.8

Author: Michel Wortmann, Potsdam Institute of Climate Impact Research, Germany

Expand Down
2 changes: 1 addition & 1 deletion modelmanager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from modelmanager.project import Project

__version__ = '0.7'
__version__ = '0.8'

0 comments on commit 57a03d9

Please sign in to comment.