Skip to content

Commit

Permalink
Release v0.10.2
Browse files Browse the repository at this point in the history
GH CI autorelease
  • Loading branch information
sembruk committed Jan 17, 2022
1 parent 6ec7e76 commit 564345e
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 67 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/asset.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10


jobs:
build:
runs-on: windows-latest
strategy:
matrix:
architecture: [x86, x64]
name: Build on Windows ${{ matrix.architecture }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
id: set_up_python
uses: actions/setup-python@v1
with:
python-version: '3.8'
architecture: ${{ matrix.architecture }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate binary exe file
run: |
pip install pyinstaller
pyinstaller --onefile --noconsole --add-data 'translation/*.qm;translation/' SportiduinoPQ.py
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash
- name: Rename artifacts
run: |
mv dist/SportiduinoPQ.exe dist/SportiduinoPQ-${{ steps.get_version.outputs.VERSION }}-win-${{ matrix.architecture }}.exe
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
#name: SportiduinoPQ-${{ steps.get_version.outputs.VERSION }}-win-${{ matrix.architecture }}
path: dist/*.exe
- name: Generate Changelog
run: |
# Get text after ## ... <version> from changelog.ru.md and changelog.en.md
sed -n "/^##.*${{ github.ref_name }}$/,/^##/{/^##/d ; p}" CHANGELOG.ru.md | sed -z "s/^\n*//g" - > ${{ github.workspace }}-CHANGELOG.txt
printf "\n---\n" >> ${{ github.workspace }}-CHANGELOG.txt
sed -n "/^##.*${{ github.ref_name }}$/,/^##/{/^##/d ; p}" CHANGELOG.md | sed -z "s/^\n*//g" - >> ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: |
dist/*.exe
# vim: ts=2 sw=2 et
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
## [0.10.0] - 2021-05-14
## 2022-01-17 - v0.10.2

- QSpinBox for card number
- Don't apply datetime from the past
- Disable deprecated Fast punch config option

[All changes](https://github.com/sportiduino/sportiduinopq/compare/v0.10.1...v0.10.2)

## 2021-10-21 - v0.10.1

- Autobuild with Python 3.8 for Windows 7

## 2021-05-14 - v0.10.0
- Autosleep option for BS v3.9.0
- Reset secs to 0 for wakeup timestamp for Sleep Card
- Lint (Flake8) fixes

## [0.9.0] - 2020-11-09
## 2020-11-09 - v0.9.0
- Master station v1.8 support
- Compatibility with MS v1.6 (only reading card)
- Added auto card polling mode
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.ru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 2022-01-17 - v0.10.2

- QSpinBox для номера чипа
- Не используются datetime из прошлого (чип сна)
- Выключена устаревшая опция "Быстрая отметка" в конфиге

[Все изменения](https://github.com/sportiduino/sportiduinopq/compare/v0.10.1...v0.10.2)

## 2021-10-21 - v0.10.1

- Автосборка с Python 3.8 для Windows 7


1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and PyQt5 for working with [Sportiduino](https://github.com/sportiduino/sportidu

- [Manual](https://github.com/sportiduino/sportiduino/blob/master/Doc/en/UserManual.md)
- [Downloads](https://github.com/sportiduino/SportiduinoPQ/releases)
- [Changelog](CHANGELOG.md)


## Installation
Expand Down
1 change: 1 addition & 0 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

- [Руководство пользователя](https://github.com/sportiduino/sportiduino/blob/master/Doc/ru/UserManual.md)
- [Скачать](https://github.com/sportiduino/SportiduinoPQ/releases)
- [Список изменений](CHANGELOG.ru.md)


## Установка
Expand Down
2 changes: 1 addition & 1 deletion SportiduinoPQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

_translate = QCoreApplication.translate

sportiduinopq_version_string = "v0.10.1"
sportiduinopq_version_string = "v0.10.2"


class SportiduinoPqMainWindow(QtWidgets.QMainWindow):
Expand Down

0 comments on commit 564345e

Please sign in to comment.