-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create auto release process * Move to auto for tagging * Remove build files * Add building to ci * Allow empty commits into release
- Loading branch information
1 parent
4066c3b
commit 769e025
Showing
16 changed files
with
3,549 additions
and
43,491 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"plugins": [ | ||
"git-tag" | ||
], | ||
"baseBranch": "releases", | ||
"owner": "duckduckgo", | ||
"repo": "content-scope-scripts", | ||
"onlyPublishWithReleaseLabel": true | ||
} |
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
Sources/ContentScopeScripts/dist/** binary linguist-generated | ||
build/** binary linguist-generated | ||
src/locales/** linguist-generated |
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,35 @@ | ||
name: Release | ||
|
||
#... on push after PR | ||
|
||
jobs: | ||
release_pr: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
|
||
- name: Build release | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Check in files | ||
run: | | ||
git add -f build/ Sources/ | ||
- name: Commit build files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "Release staging build [ci release]" | ||
--create-branch | ||
branch: "releases-${....}" # numbered by PR number | ||
|
||
## add comment to PR about link? | ||
|
||
## separate workflow on pr merge delete release branch? |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
node_modules/ | ||
.swiftpm | ||
.env |
Oops, something went wrong.