Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Mar 11, 2024
1 parent 7d03112 commit 9fe216c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions exasol/toolbox/nox/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,16 +439,20 @@ def release(session: Session, python=False) -> None:
Creates a new release and publishing it to GitHub and pypi.
"""
session.error("Not implemented yet")
# test are run on pr and on merge no so we assume we should be good
# can be changed in the future if that does not work well

# 0. check if tag does not exist (origin)

# Precondition(s):
# Convert ci-cd.yml workflow to cd.yml workflow
# Tests validation can be skipped. Branch protection together with
# PR and merge validation shoudl be sufficient

# 0. Check that version isn't released yet (tag does not exist (origin))
# 0.1. update git information
# 0.2. check if origin does not have the tag yet
# 2. check if current branch is main/master
# 3. build wheel/package
# 1. create release tag
# 2. push release tag to origin
# 4. publish on gh
# 1. check if current branch is main/master
# 2. build wheel/package
# 3. create release tag
# 4. push release tag to origin
# 5. publish on gh
# 5. publish on pypi
# 6. output relase message/information

0 comments on commit 9fe216c

Please sign in to comment.