mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: simplify GitHub Actions
Move both code and the release note text into files that can be shared between multiple actions. This should make the actions smaller and easier to read and since this is used in several actions it should make things much easier to maintain. In order to test this without too much unnecessary noise, this commit only changes the android workflow - the others will be changed in a later commit once his has been tested and works (again, this can really only be tested by merging the PR into master). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f1ac55d322
commit
7286a76233
3 changed files with 40 additions and 19 deletions
8
scripts/create-releasenotes.sh
Normal file
8
scripts/create-releasenotes.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# use to assemble the details for our release notes and write them to a file
|
||||
#
|
||||
# Usage: create-releasenotes.sh pr_num pr_url pr_title commit_id commit_url
|
||||
|
||||
sed "s/PRNUM/$1/;s/PRURL/$2/;s/PRTITLE/$3/;s/COMMITID/$4/;s/COMMITURL/$5/" < gh_release_notes.in > gh_release_notes
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue