-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new release process with tags
- Loading branch information
Showing
35 changed files
with
3,001 additions
and
4,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Weekly Release Tag | ||
|
||
on: | ||
schedule: | ||
- cron: '0 6 * * 2' # Runs every Tuesday at 6am | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js 20 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Get new version | ||
run: | | ||
node scripts/get-app-version.mjs > version.txt | ||
- name: Read version from file | ||
id: version | ||
run: echo "version=$(cat version.txt)" >> "$GITHUB_OUTPUT" | ||
|
||
- name: Create and push tag | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git tag ${{ steps.version.outputs.version }} | ||
git push origin ${{ steps.version.outputs.version }} | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.