Skip to content

Commit bbcc086

Browse files
authored
Merge pull request #310 from Gumball2415/main
Update CI build scripts
2 parents 6ab292c + afaf640 commit bbcc086

File tree

6 files changed

+64
-98
lines changed

6 files changed

+64
-98
lines changed

.github/workflows/build-artifact.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ jobs:
1717
- uses: r-lib/actions/setup-pandoc@v2
1818
with:
1919
pandoc-version: '3.1.8'
20-
- name: Set commit hash variable
21-
shell: powershell
22-
run: echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV
2320
- name: Build program
2421
shell: cmd
2522
run: |
23+
powershell -Command "echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV"
2624
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
2725
call msbuild -m:5 -nologo -p:Configuration="${{ matrix.configuration }}" -p:Platform="${{ matrix.platform }}"
2826
if %ERRORLEVEL%==1 exit %ERRORLEVEL%

.github/workflows/build-release-artifact.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
shell: powershell
4949
- run: ls -R
5050
- name: Upload release
51-
uses: marvinpinto/action-automatic-releases@v1.2.1
51+
uses: softprops/action-gh-release@v2
5252
with:
53-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
53+
token: "${{ secrets.GITHUB_TOKEN }}"
5454
draft: true
5555
prerelease: false
56-
automatic_release_tag: draft
56+
tag_name: draft
5757
files: Dn-FamiTracker_artifacts/*.7z

Dn_main_appveyor.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,15 @@ Dn-Famitracker is a fork of 0CC-FamiTracker that incorporates numerous fixes and
1818

1919
## Downloads
2020

21-
Download releases: [![GitHub all releases](https://img.shields.io/github/downloads/Dn-Programming-Core-Management/Dn-FamiTracker/total?logo=github&style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/releases)
22-
23-
Development builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker/history)
24-
25-
Github Actions automated builds: [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-artifact.yml)
26-
27-
Github Actions automated release builds: [![GitHub](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-release-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-release-artifact.yml)
28-
29-
Legacy Dev Builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker-legacy?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker-legacy/history)
30-
31-
Notice: Due to delayed Appveyor reintegration, builds for commits `dc4c9e8` to `2141360` are not available.
32-
33-
Notice: Due to delayed branch renaming, builds for commits `bc46c86` to `a591d15` are not available.
21+
- Download releases: [![GitHub all releases](https://img.shields.io/github/downloads/Dn-Programming-Core-Management/Dn-FamiTracker/total?logo=github&style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/releases)
22+
- GitHub Actions automated builds: [![GitHub Actions](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-artifact.yml)
23+
- Github Actions automated release builds: [![GitHub](https://img.shields.io/github/actions/workflow/status/Dn-Programming-Core-Management/Dn-FamiTracker/build-release-artifact.yml?style=flat-square)](https://github.com/Dn-Programming-Core-Management/Dn-FamiTracker/actions/workflows/build-release-artifact.yml)
24+
- Legacy AppVeyor Gumball2415 builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker-legacy?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker-legacy/history)
25+
- Legacy AppVeyor automated D.P.C.M. builds: [![AppVeyor](https://img.shields.io/appveyor/build/Gumball2415/dn-famitracker?logo=appveyor&style=flat-square)](https://ci.appveyor.com/project/Gumball2415/dn-famitracker/history)
26+
- AppVeyor notice:
27+
- Due to delayed AppVeyor reintegration, builds for commits `dc4c9e86` to `21413603` are not available.
28+
- Due to delayed AppVeyor branch reconfiguration, builds for commits `bc46c86c` to `a591d154` are not available.
29+
- Due to less reliability, AppVeyor builds beyond `2c997736` are not available.
3430

3531
## Licenses
3632

docs/version update.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

docs/version_update.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Version Update Checklist
2+
3+
- [ ] Create Version Tag
4+
- Format: `Dnx.y.z.r`
5+
- x: Major (API change)
6+
- y: Minor (backward compatible change)
7+
- z: Patch (backward compatible bugfix)
8+
- r: Revision (backward compatible quick fixes for typos)
9+
- Double check that this tag is higher than the previous release tag
10+
- Version tag must be appropriate to Semantic Versioning
11+
- [ ] Update changelogs:
12+
- [CHANGELOG.md](CHANGELOG.md), which will update [../Dn-Help/hlp/changelog_shell.htm](changelog_shell.htm) upon build
13+
- [ ] Edit every file with version info:
14+
- [Dn-FamiTracker.rc](../Dn-FamiTracker.rc)
15+
- [version.h](../version.h)
16+
- [ ] **IMPORTANT**: update ConfigVersion.cpp
17+
- [ ] Update copyright years:
18+
- [LICENSE.txt](../LICENSE.txt)
19+
- all source files with copyright info:
20+
21+
```
22+
FamiTracker - NES/Famicom sound tracker
23+
Copyright (C) 2005-2020 Jonathan Liss
24+
25+
0CC-FamiTracker is (C) 2014-2018 HertzDevil
26+
27+
Dn-FamiTracker is (C) 2020-2024 D.P.C.M.
28+
29+
This program is free software; you can redistribute it and/or modify
30+
it under the terms of the GNU General Public License as published by
31+
the Free Software Foundation; either version 2 of the License, or
32+
(at your option) any later version.
33+
34+
This program is distributed in the hope that it will be useful,
35+
but WITHOUT ANY WARRANTY; without even the implied warranty of
36+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
37+
Library General Public License for more details. To obtain a
38+
copy of the GNU Library General Public License, write to the Free
39+
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40+
41+
Any permitted reproduction of these routines, in whole or in part,
42+
must bear this legend.
43+
```
44+
45+
- [ ] Create and push Version Tag to the repo
46+
- There is a GitHub Actions script to build a drafted release upon a tag push
47+
- Tag must be on commit deemed appropriate for release
48+
- [ ] Edit and publish the draft release page in GitHub
49+
- [ ] Triple check that the tag on the release matches the Version Tag
50+
- [ ] Double check the build artifacts to be accurate and working
51+
- [ ] Notify everyone about the new version

0 commit comments

Comments
 (0)