Skip to content

Commit

Permalink
Release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadoySV committed Oct 18, 2023
1 parent 3b69123 commit 2440f99
Show file tree
Hide file tree
Showing 28 changed files with 821 additions and 408 deletions.
91 changes: 91 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Release

on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+*"]

env:
CARGO_TERM_COLOR: always

jobs:
macos:
runs-on: macos-11

steps:
- name: Rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v3
- name: Install dependencies
run: brew install scdoc
- name: Install ARM target
run: rustup update && rustup target add aarch64-apple-darwin
- name: Test
run: cargo test --release
- name: Make DMG
run: make dmg-universal

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: ./target/release/osx/Work-break.dmg

windows:
runs-on: windows-latest

defaults:
run:
shell: bash

steps:
- name: Rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v3
- name: Test
run: cargo test --release
- name: Build
run: cargo build --release
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: ./target/release/work-break.exe

linux:
runs-on: ubuntu-latest

steps:
- name: Rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v3
- name: Test
run: cargo test --release
- name: Build
run: cargo build --release
- name: Prepare deb package files
run: |
mkdir -p .debpkg/usr/bin
cp ./target/release/work-break .debpkg/usr/bin
cp -r extra/linux/* .debpkg
mkdir .debpkg/usr/share/work-break
cp ./LICENSE .debpkg/usr/share/work-break
- uses: jiro4989/build-deb-action@v3
with:
package: work-break
package_root: .debpkg
maintainer: Sergei Shadoy <[email protected]>
version: ${{ github.ref }}
arch: "amd64"
desc: "Work-break balancer for Windows / MacOS / Linux desktops"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
./*.deb
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
/artifacts
/target
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2023-10-18

### Added

- Added coefficient D to make today work time affect resting time
- Added ability to change notification thresholds: 25 and 52 minutes, and phases' names

### Changed

- Critical notifications are not used anymore
- Changed the app's CLI interface

## [0.2.1] - 2023-08-12

### Added
Expand Down
Loading

0 comments on commit 2440f99

Please sign in to comment.