Giter VIP home page Giter VIP logo

Comments (1)

czerus avatar czerus commented on August 30, 2024

First of all: Decision about a release depends on us and this means not every commit triggers the release process

So I suggest following process and tools that we should create:

Locally:

Run in the repo tool release 0.0.1 that will:

  1. Create branch release/v[release_number] i.e. git branch -b release/v.0.0.1 - we use semantic versioning
  2. will run poetry to bump version in the pyproject.toml: poetry version 0.0.1
  3. will generate the changelog using: https://pypi.org/project/gitchangelog/
  4. will add changed files to changelist and perform commit: release: Create v.0.0.1 release
  5. will create annotated tag with version: git tag -a v0.0.1 -m "Release v1.0.0"
  6. will push everything to remote branch

Remotely:

  1. Manually open PR for created branch release/v.0.0.1 for merging into master branch
  2. Devs perform the review and when everything is OK we merge the PR -> proceed to Actions step (merged branch is deleted).
    • If something is wrong corrective actions needs to be performed and pushed with force to review
    • If one decides to not release this he has to: delete release/v[version] branch

Actions:

  1. When actions on the release branch will be run it will be based on the SV job, so it will build wheel and test the app
  2. Resulting output from SV (built wheel) will be put on the Release in Github and ...
  3. ... will push the package and changelog to pypi by calling poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD -n

Note: in order to publish register on pypi

@pajhiwo what do you think?

from pydriverr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.