Skip to content

Commit

Permalink
[CI] update release info on each build
Browse files Browse the repository at this point in the history
  • Loading branch information
lirundong committed May 13, 2023
1 parent 2ae94e3 commit 64a3c9d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/artifacts-release-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Nightly Artifacts Release

## Release Date
{RELEASE_DATE}

## Contents
- The latest OpenWRT stable images
- OpenWRT snapshot images
- Clash configurations
- Quantumult-X configurations

## Note
All artifacts here are GnuPG encrypted to protect sensitive information.
6 changes: 6 additions & 0 deletions .github/workflows/artifacts-release-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,16 @@ jobs:
gpg -c --batch --yes --passphrase=${PASSWORD} $f
rm $f
done
- name: prepare-release-readme
run: |
mkdir artifacts-readme
cp .github/artifacts-release-readme.md artifacts-readme/README.md
sed -i 's!{RELEASE_DATE}!'$(date +'%Y/%m/%d')'!g' artifacts-readme/README.md
- name: release-artifacts
uses: pyTooling/Actions/releaser@r0
with:
tag: nightly
token: ${{ secrets.GITHUB_TOKEN }}
files: |
artifacts-*/*.gpg
artifacts-readme/README.md

0 comments on commit 64a3c9d

Please sign in to comment.