1
0
Fork 0

Merging upstream version 0.10.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 13:52:40 +01:00
parent 801f1af336
commit d1f683ede3
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
10 changed files with 45 additions and 46 deletions

View file

@ -2,38 +2,17 @@
name: "Tag & Release management"
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
# release:
# name: Create Github Release
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Generate Changelog
# run: |
# sudo apt update && sudo apt install zsh
# export TAG_CURRENT=$(git describe --abbrev=0 --tags)
# export TAG_PREVIOUS=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)
# echo "Previous tag is: ${TAG_PREVIOUS}"
# echo "Current tag is: ${TAG_CURRENT}"
# zsh .github/changelog.sh ${TAG_CURRENT} ${TAG_PREVIOUS} md > CHANGELOG.md
# cat CHANGELOG.md
# - name: Release on Github
# uses: softprops/action-gh-release@v1
# with:
# draft: false
# body_path: CHANGELOG.md
pypi:
name: Publish version to Pypi servers
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/eos-downloader
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
@ -47,7 +26,7 @@ jobs:
run: |
python -m build
- name: Publish package to TestPyPI
- name: Publish package to Pypi server
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
@ -86,7 +65,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
@ -127,7 +106,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.docker