Compare commits

..

4 Commits

Author SHA1 Message Date
ce0c07cbd9 Release 0.21.4 2021-04-05 02:28:38 +03:00
912a76d5cb drop changelog
the main reason is that it uses github to generate changelog. Thus it
will be updated AFTER release is created
2021-04-05 02:27:12 +03:00
76d0b0bc6d Release 0.21.3 2021-04-05 02:22:44 +03:00
27d018e721 update changelog at correct step
also fix commit filter and do not update sha anymore
2021-04-05 02:22:11 +03:00
6 changed files with 9 additions and 142 deletions

View File

@ -20,7 +20,7 @@ jobs:
uses: jaywcjlove/changelog-generator@main uses: jaywcjlove/changelog-generator@main
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' filter: 'Release \d+\.\d+\.\d+'
- name: create archive - name: create archive
run: make archive run: make archive
env: env:

View File

@ -1,126 +0,0 @@
# Changelog
## [0.21.1](https://github.com/arcan1s/ahriman/tree/0.21.1) (2021-04-04)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.21.0...0.21.1)
## [0.21.0](https://github.com/arcan1s/ahriman/tree/0.21.0) (2021-04-04)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.20.0...0.21.0)
## [0.20.0](https://github.com/arcan1s/ahriman/tree/0.20.0) (2021-03-31)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.19.0...0.20.0)
## [0.19.0](https://github.com/arcan1s/ahriman/tree/0.19.0) (2021-03-30)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.18.0...0.19.0)
## [0.18.0](https://github.com/arcan1s/ahriman/tree/0.18.0) (2021-03-29)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.17.0...0.18.0)
## [0.17.0](https://github.com/arcan1s/ahriman/tree/0.17.0) (2021-03-29)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.16.0...0.17.0)
**Implemented enhancements:**
- Sign command [\#7](https://github.com/arcan1s/ahriman/issues/7)
- Provide extended setup help command [\#6](https://github.com/arcan1s/ahriman/issues/6)
**Merged pull requests:**
- Setup command [\#9](https://github.com/arcan1s/ahriman/pull/9) ([arcan1s](https://github.com/arcan1s))
- add sign command [\#8](https://github.com/arcan1s/ahriman/pull/8) ([arcan1s](https://github.com/arcan1s))
## [0.16.0](https://github.com/arcan1s/ahriman/tree/0.16.0) (2021-03-28)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.15.0...0.16.0)
**Implemented enhancements:**
- Review unsafe option [\#4](https://github.com/arcan1s/ahriman/issues/4)
- Split functions class to module package [\#3](https://github.com/arcan1s/ahriman/issues/3)
- Import from another repository [\#2](https://github.com/arcan1s/ahriman/issues/2)
- Tests [\#1](https://github.com/arcan1s/ahriman/issues/1)
**Merged pull requests:**
- Add tests \(\#1\) [\#5](https://github.com/arcan1s/ahriman/pull/5) ([arcan1s](https://github.com/arcan1s))
## [0.15.0](https://github.com/arcan1s/ahriman/tree/0.15.0) (2021-03-20)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.14.1...0.15.0)
## [0.14.1](https://github.com/arcan1s/ahriman/tree/0.14.1) (2021-03-17)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.14.0...0.14.1)
## [0.14.0](https://github.com/arcan1s/ahriman/tree/0.14.0) (2021-03-16)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.13.0...0.14.0)
## [0.13.0](https://github.com/arcan1s/ahriman/tree/0.13.0) (2021-03-15)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.12.2...0.13.0)
## [0.12.2](https://github.com/arcan1s/ahriman/tree/0.12.2) (2021-03-15)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.12.1...0.12.2)
## [0.12.1](https://github.com/arcan1s/ahriman/tree/0.12.1) (2021-03-15)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.12.0...0.12.1)
## [0.12.0](https://github.com/arcan1s/ahriman/tree/0.12.0) (2021-03-15)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.7...0.12.0)
## [0.11.7](https://github.com/arcan1s/ahriman/tree/0.11.7) (2021-03-14)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.6...0.11.7)
## [0.11.6](https://github.com/arcan1s/ahriman/tree/0.11.6) (2021-03-13)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.5...0.11.6)
## [0.11.5](https://github.com/arcan1s/ahriman/tree/0.11.5) (2021-03-13)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.4...0.11.5)
## [0.11.4](https://github.com/arcan1s/ahriman/tree/0.11.4) (2021-03-13)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.3...0.11.4)
## [0.11.3](https://github.com/arcan1s/ahriman/tree/0.11.3) (2021-03-12)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.2...0.11.3)
## [0.11.2](https://github.com/arcan1s/ahriman/tree/0.11.2) (2021-03-12)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.1...0.11.2)
## [0.11.1](https://github.com/arcan1s/ahriman/tree/0.11.1) (2021-03-11)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.11.0...0.11.1)
## [0.11.0](https://github.com/arcan1s/ahriman/tree/0.11.0) (2021-03-11)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.10.0...0.11.0)
## [0.10.0](https://github.com/arcan1s/ahriman/tree/0.10.0) (2021-03-10)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.9.1...0.10.0)
## [0.9.1](https://github.com/arcan1s/ahriman/tree/0.9.1) (2021-03-09)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/0.9.0...0.9.1)
## [0.9.0](https://github.com/arcan1s/ahriman/tree/0.9.0) (2021-03-08)
[Full Changelog](https://github.com/arcan1s/ahriman/compare/53d21d6496ab902b664a678a2f2d3a7f4e96d8d1...0.9.0)
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

View File

@ -1,9 +1,9 @@
.PHONY: archive archive_directory archlinux changelog check clean directory push tests version .PHONY: archive archive_directory archlinux check clean directory push tests version
.DEFAULT_GOAL := archlinux .DEFAULT_GOAL := archlinux
PROJECT := ahriman PROJECT := ahriman
FILES := AUTHORS CHANGELOG.md COPYING CONFIGURING.md README.md package src setup.py FILES := AUTHORS COPYING CONFIGURING.md README.md package src setup.py
TARGET_FILES := $(addprefix $(PROJECT)/, $(FILES)) TARGET_FILES := $(addprefix $(PROJECT)/, $(FILES))
IGNORE_FILES := package/archlinux src/.mypy_cache IGNORE_FILES := package/archlinux src/.mypy_cache
@ -21,15 +21,8 @@ archive_directory: $(TARGET_FILES)
find "$(PROJECT)" -depth -type d -name "*.egg-info" -execdir rm -rf {} + find "$(PROJECT)" -depth -type d -name "*.egg-info" -execdir rm -rf {} +
archlinux: archive archlinux: archive
sed -i "/sha512sums=('[0-9A-Fa-f]*/s/[^'][^)]*/sha512sums=('$$(sha512sum $(PROJECT)-$(VERSION)-src.tar.xz | awk '{print $$1}')'/" package/archlinux/PKGBUILD
sed -i "s/pkgver=[0-9.]*/pkgver=$(VERSION)/" package/archlinux/PKGBUILD sed -i "s/pkgver=[0-9.]*/pkgver=$(VERSION)/" package/archlinux/PKGBUILD
changelog:
ifndef GITHUB_TOKEN
$(error GITHUB_TOKEN is required, but not set)
endif
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u arcan1s -p ahriman -t $(GITHUB_TOKEN)
check: clean check: clean
cd src && mypy --implicit-reexport --strict -p "$(PROJECT)" cd src && mypy --implicit-reexport --strict -p "$(PROJECT)"
find "src/$(PROJECT)" tests -name "*.py" -execdir autopep8 --exit-code --max-line-length 120 -aa -i {} + find "src/$(PROJECT)" tests -name "*.py" -execdir autopep8 --exit-code --max-line-length 120 -aa -i {} +
@ -42,11 +35,11 @@ clean:
directory: clean directory: clean
mkdir "$(PROJECT)" mkdir "$(PROJECT)"
push: archlinux changelog push: archlinux
git add package/archlinux/PKGBUILD src/ahriman/version.py CHANGELOG.md git add package/archlinux/PKGBUILD src/ahriman/version.py
git commit -m "Release $(VERSION)" git commit -m "Release $(VERSION)"
git push
git tag "$(VERSION)" git tag "$(VERSION)"
git push
git push --tags git push --tags
tests: clean tests: clean

View File

@ -1,6 +1,6 @@
# ArcHlinux ReposItory MANager # ArcHlinux ReposItory MANager
![build status](https://github.com/arcan1s/ahriman/actions/workflows/python-app.yml/badge.svg) [![build status](https://github.com/arcan1s/ahriman/actions/workflows/run-tests.yml/badge.svg)](https://github.com/arcan1s/ahriman/actions/workflows/run-tests.yml)
Wrapper for managing custom repository inspired by [repo-scripts](https://github.com/arcan1s/repo-scripts). Wrapper for managing custom repository inspired by [repo-scripts](https://github.com/arcan1s/repo-scripts).

View File

@ -1,7 +1,7 @@
# Maintainer: Evgeniy Alekseev # Maintainer: Evgeniy Alekseev
pkgname='ahriman' pkgname='ahriman'
pkgver=0.21.2 pkgver=0.21.4
pkgrel=1 pkgrel=1
pkgdesc="ArcHlinux ReposItory MANager" pkgdesc="ArcHlinux ReposItory MANager"
arch=('any') arch=('any')

View File

@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
__version__ = "0.21.2" __version__ = "0.21.4"