Skip to content

Commit

Permalink
[@yorevs] Push for new revision
Browse files Browse the repository at this point in the history
  • Loading branch information
yorevs committed Dec 6, 2024
1 parent e4d162f commit 6b56873
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 67 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: create-release
run-name: Create Release

on:
workflow_dispatch:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+"
Expand Down Expand Up @@ -31,18 +32,21 @@ jobs:
run: |
if [ "${{ github.ref_type }}" = "tag" ]; then
TAG_NAME=${GITHUB_REF#refs/tags/}
NEW_VERSION=$(echo $TAG_NAME | awk -F'-' '{print $1}')
SUFFIX=$(echo $TAG_NAME | grep -oP '[a-z]+[0-9]+' || echo "")
echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "suffix=$SUFFIX" >> "$GITHUB_OUTPUT"
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
echo "Version is $NEW_VERSION"
echo "Suffix is $SUFFIX"
echo "Tag name is $TAG_NAME"
else
echo "No tags found"
exit 1
TAG_NAME="$(git tag | tail -n1)"
if [ -z "${TAG_NAME}" ]; then
echo "No tags found"
exit 1
fi
fi
NEW_VERSION=$(echo $TAG_NAME | awk -F'-' '{print $1}')
SUFFIX=$(echo $TAG_NAME | grep -oP '[a-z]+[0-9]+' || echo "")
echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
echo "suffix=$SUFFIX" >> "$GITHUB_OUTPUT"
echo "tag_name=$TAG_NAME" >> "$GITHUB_OUTPUT"
echo "Version is $NEW_VERSION"
echo "Suffix is $SUFFIX"
echo "Tag name is $TAG_NAME"
check_pypi:
needs: details
Expand Down Expand Up @@ -91,7 +95,7 @@ jobs:
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Install Python tools
run: gradle installBuildTools installModule ${{ gradle_debug_params }}
run: gradle installBuildTools installModule
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Terminal](https://badgen.net/badge/icon/terminal?icon=terminal&label)](https://github.com/yorevs/homesetup)
[![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)
[![Release](https://badgen.net/badge/release/v1.2.5/gray)](docs/CHANGELOG.md#unreleased)
[![Release](https://badgen.net/badge/release/v1.2.6/gray)](docs/CHANGELOG.md#unreleased)
[![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
[![build-and-test](https://github.com/yorevs/askai/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/askai/actions/workflows/build-and-test.yml)

Expand Down
2 changes: 1 addition & 1 deletion bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpver]
current_version = "1.2.5"
current_version = "1.2.6"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "++version {old_version} -> {new_version}"
commit = false
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ author = <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior
mailTo = yorevs@hotmail.com
siteUrl = https://github.com/yorevs/askai
app_name = hspylib-askai
app_version = 1.2.5
app_version = 1.2.6

# Build Tools
buildTools = setuptools, wheel, build, twine, bumpver, pipenv, isort, black, mypy, pylint, pdoc, pytest, PyInstaller
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hspylib-askai"
version = "1.2.5"
version = "1.2.6"
description = "HomeSetup - AskAI"
authors = ["Hugo Saporetti Junior <yorevs@hotmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Terminal](https://badgen.net/badge/icon/terminal?icon=terminal&label)](https://github.com/yorevs/homesetup)
[![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)
[![Release](https://badgen.net/badge/release/v1.2.3/gray)](docs/CHANGELOG.md#unreleased)
[![Release](https://badgen.net/badge/release/v1.2.5/gray)](docs/CHANGELOG.md#unreleased)
[![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
[![build-and-test](https://github.com/yorevs/askai/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/askai/actions/workflows/build-and-test.yml)

Expand Down
2 changes: 1 addition & 1 deletion src/main/askai/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.5
1.2.6
49 changes: 0 additions & 49 deletions src/main/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# This call to setup() does all the work
setuptools.setup(
name="hspylib-askai",
version="1.2.5",
version="1.2.6",
description="HomeSetup - AskAI",
author="Hugo Saporetti Junior",
author_email="yorevs@hotmail.com",
Expand Down

0 comments on commit 6b56873

Please sign in to comment.