Skip to content

Commit

Permalink
release/1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrozc90 committed Jan 3, 2024
1 parent aad4a76 commit 1ab7d0a
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_FILE: "interrupts.zip"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build
run: make zip FILENAME=${{ env.RELEASE_FILE }}

- name: Create Release
run: |
gh release create \
--repo ${{ github.repository }} \
--title ${{ github.ref_name }} \
--generate-notes \
${{ github.ref_name }}
- name: Upload Zip File
run: |
gh release upload \
--clobber "${{ github.ref_name }}" \
--repo ${{ github.repository }} \
${{ env.RELEASE_FILE }}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.0.0] - 2024-01-02

### Added

- `CHANGELOG.mf' initialized.
4 changes: 2 additions & 2 deletions Interrupts-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11403
## Interface: 11500
## Author: Luaerror
## Version: 1.0
## Version: 1.0.0
## Title: |cffb3ff19Interrupts - Classic|r
## Notes: Interrupt announcer
## Website: https://github.com/pedrozc90/interrupts
Expand Down
4 changes: 2 additions & 2 deletions Interrupts-Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100100
## Interface: 100200
## Author: Luaerror
## Version: 1.0
## Version: 1.0.0
## Title: |cffb3ff19Interrupts|r
## Notes: Interrupt announcer
## Website: https://github.com/pedrozc90/interrupts
Expand Down
2 changes: 1 addition & 1 deletion Interrupts-TBC.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 20504
## Author: Luaerror
## Version: 1.0
## Version: 1.0.0
## Title: |cffb3ff19Interrupts|r
## Notes: Interrupt announcer
## Website: https://github.com/pedrozc90/interrupts
Expand Down
4 changes: 2 additions & 2 deletions Interrupts-Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 30401
## Interface: 30403
## Author: Luaerror
## Version: 1.0
## Version: 1.0.0
## Title: |cffb3ff19Interrupts|r
## Notes: Interrupt announcer
## Website: https://github.com/pedrozc90/interrupts
Expand Down
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FILENAME := interrupts.zip
EXCLUDES := '.git/*' '.github/*' '.gitignore' '.gitattributes' Makefile

.PHONY: changelog
changelog:
@git log -1 --pretty=%B | head -c -1

.PHONY: zip
zip:
@echo "Creating zip file..."
@zip -r $(FILENAME) * -x $(addprefix -x ,$(EXCLUDES))
@echo "$(FILENAME) created successfully."

.PHONY: clean
clean:
@echo "Cleaning up..."
@rm -f $(FILENAME)
@echo "Cleanup complete."

0 comments on commit 1ab7d0a

Please sign in to comment.