Skip to content

Commit

Permalink
Update version number to include a commit hash through Actions. (#790)
Browse files Browse the repository at this point in the history
CI adjustments
Add changelog
  • Loading branch information
PhlexPlexico authored Jul 27, 2022
1 parent 05411e6 commit 3cef805
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Compile And Upload Plugin To Tags and Releases
name: Status

on:
push:
Expand Down Expand Up @@ -67,7 +67,13 @@ jobs:
with:
name: compiled-files
path: artifacts


- name: "Generate release changelog"
uses: Bullrich/generate-release-changelog@master
id: Changelog
env:
REPO: ${{ github.repository }}

- name: Tag And Attach Nightly Build
uses: ncipollo/release-action@v1.8.3
with:
Expand All @@ -78,11 +84,7 @@ jobs:
tag: "v${{ needs.build.outputs.get5-version }}-${{ needs.build.outputs.sha-short }}"
name: "Nightly ${{ needs.build.outputs.get5-version }}-${{ needs.build.outputs.sha-short }}"
body: |
Please note while these are compiled nightly builds, bugs may still exist in the software.
When reporting an issue, please include the debug log by calling `get5_debuginfo` and attach
the file located at addons/sourcemod/logs/get5_debuginfo.txt.
This will help speed up the process of tracking down bugs based
on that specific version.
${{ steps.Changelog.outputs.changelog }}
deploy-stable:
needs: [build]
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ get5
===========================

[![Build Status](https://github.com/splewis/get5/actions/workflows/build.yml/badge.svg)](https://github.com/splewis/get5/actions/workflows/build.yml)
[![Stable Downloads](https://img.shields.io/github/downloads/splewis/get5/latest/total.svg?&label=Stable&sort=semver)](https://github.com/splewis/get5/releases/latest)
[![Nightly Downloads](https://img.shields.io/github/downloads/splewis/get5/total.svg?&label=Nightlies)](https://github.com/splewis/get5/releases)
[![Downloads](https://img.shields.io/github/downloads/splewis/get5/total.svg?&label=Downloads)](https://github.com/splewis/get5/releases/latest)
[![Discord Chat](https://img.shields.io/discord/926309849673895966.svg)](https://discord.gg/zmqEa4keCk)

**Status: Supported, actively developed.**
Expand Down

0 comments on commit 3cef805

Please sign in to comment.