fix: 💚 update pypi version, don't push from main

This commit is contained in:
Nate Sesti 2023-09-25 00:50:32 -07:00
parent afae160025
commit 208eb65f67
2 changed files with 34 additions and 34 deletions

View file

@ -6,47 +6,47 @@ on:
- main
jobs:
pypi-deployment:
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: Check out code
uses: actions/checkout@v2
# pypi-deployment:
# runs-on: ubuntu-20.04
# permissions:
# contents: write
# steps:
# - name: Check out code
# uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10.8"
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.10.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install poetry
- name: Install project dependencies
run: cd continuedev && poetry install
# - name: Install project dependencies
# run: cd continuedev && poetry install
- name: Configure Poetry Token
run: cd continuedev && poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
# - name: Configure Poetry Token
# run: cd continuedev && poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Bump the version
run: cd continuedev && poetry version patch
# - name: Bump the version
# run: cd continuedev && poetry version patch
- name: Build and publish the package
run: cd continuedev && poetry publish --build
# - name: Build and publish the package
# run: cd continuedev && poetry publish --build
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "ci: 🏷 Update PyPI version [skip ci]"
# - name: Commit changes
# run: |
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
# git commit -am "ci: 🏷 Update PyPI version [skip ci]"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.ref }}
pyinstaller:
strategy:

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "continuedev"
version = "0.1.41"
version = "0.1.42"
description = ""
authors = ["Nate Sesti <sestinj@gmail.com>"]
readme = "README.md"