Skip to content

Commit

Permalink
chore: release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heyhusen committed Oct 1, 2021
1 parent b3890e0 commit 6544443
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,35 @@ jobs:
ls -la
git diff PKGBUILD
git diff .SRCINFO
release:
name: Release
runs-on: ubuntu-latest
needs: test
if: startsWith(github.ref, 'refs/tags/v')

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Get branch/tag names
id: branch-name
uses: tj-actions/branch-names@v5
with:
strip_tag_prefix: "v"

- name: Read changelog
id: changelog-reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ steps.branch-name.outputs.tag }}
path: ./CHANGELOG.md

- name: Create/update release
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.branch-name.outputs.tag }}
name: v${{ steps.branch-name.outputs.tag }}
body: ${{ steps.changelog-reader.outputs.changes }}
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Changelog

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).

## [Unreleased]

## [1.1.0] - 2021-10-02

### Added

- Update `pkgver` on PKGBUILD
- Update `pkgrel` on PKGBUILD

### Fixed

- Missing `set -e` on bash

## [1.0.3] - 2021-05-30

### Fixed

- $GITHUB_WORKSPACE permission in step after using this action

## [1.0.2] - 2021-05-26

### Fixed

- Docker runner syntax
- Path sntax

## [1.0.1] - 2021-05-19

### Fixed

- Missing documentation

## [1.0.0] - 2021-05-19

### Added

- Initial release

[Unreleased]: https://github.com/datakrama/archlinux-package-action/compare/v1.1.0...HEAD
[1.0.3]: https://github.com/datakrama/archlinux-package-action/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/datakrama/archlinux-package-action/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/datakrama/archlinux-package-action/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/datakrama/archlinux-package-action/releases/tag/v1.0.0

0 comments on commit 6544443

Please sign in to comment.