See this greasyfork-org/greasyfork#1211 (comment)
Reference Repos:
https://github.com/a1mersnow/aliyundrive-rename https://github.com/Ex124OJ/Ex124OJ https://github.com/cyfung1031/Tabview-Youtube
- Create a placeholder file
generated/Tabview-Youtube.user.js
in[master]
branch - Set the
[generated-files]
branch based on[master]
branch - Write the content to
generated/Tabview-Youtube.user.js
in[generated-files]
branch - Trigger webhook with modified file
generated/Tabview-Youtube.user.js
in[generated-files]
branch
- Set the
[build]
branch based on[master]
branch - Create an empty js file
dist/ex124oj.user.js
in[build]
branch (1st commit) - Write the content to
dist/ex124oj.user.js
in[build]
branch (2nd commit) - Trigger webhook with modified file
dist/ex124oj.user.js
in[build]
branch
- The js file
dist/aliyundrive-rename.user.js
exists in[master]
branch. - When there is release, generate the file to dist.
- Trigger webhook with modified file
dist/aliyundrive-rename.user.js
in[master]
branch