You've already forked transaction-tracker
Initial project 🎉
This commit is contained in:
27
.github/workflows/create-release.yml
vendored
Normal file
27
.github/workflows/create-release.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: create-release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
tags:
|
||||
- "!**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Create release if required
|
||||
uses: go-semantic-release/action@v1
|
||||
with:
|
||||
custom-arguments: >
|
||||
--provider=gitea
|
||||
--allow-initial-development-versions
|
||||
--prerelease
|
||||
hooks: exec
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.G_TOKEN }}
|
||||
GITEA_HOST: ${{ secrets.G_SERVER_URL}}
|
||||
|
||||
|
||||
22
.github/workflows/publish-release.yml
vendored
Normal file
22
.github/workflows/publish-release.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: CI
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update version in pyproject.toml
|
||||
run: |
|
||||
sed -i -e 's|version = ".*|version = "${{ env.GITHUB_REF_NAME }}"|' pyproject.toml
|
||||
|
||||
- name: Build and publish to private Python package repository
|
||||
uses: JRubics/poetry-publish@v2.1
|
||||
with:
|
||||
repository_name: "hub"
|
||||
repository_url: "https://hub.cybercinch.nz/api/packages/cybercinch/pypi"
|
||||
repository_username: ${{ secrets.G_PYPI_USERNAME }}
|
||||
repository_password: ${{ secrets.G_PYPI_PASSWORD }}
|
||||
Reference in New Issue
Block a user