mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
release: github token from env var
This commit is contained in:
@@ -10959,6 +10959,7 @@ Create a release:
|
||||
....
|
||||
git clone https://github.com/cirosantilli/linux-kernel-module-cheat linux-kernel-module-cheat-release
|
||||
cd linux-kernel-module-cheat-release
|
||||
# export LKMC_GITHUB_TOKEN=<your-token>
|
||||
./release
|
||||
....
|
||||
|
||||
@@ -11000,13 +11001,14 @@ which you can then upload somewhere.
|
||||
For example, you can create or update a GitHub release and upload automatically with:
|
||||
|
||||
....
|
||||
git push
|
||||
printf "$GITHUB_TOKEN" > "$(./getvar github_token_file)"
|
||||
# export LKMC_GITHUB_TOKEN=<your-token>
|
||||
./release-upload
|
||||
....
|
||||
|
||||
Source: link:release-upload[]
|
||||
|
||||
Create `LKMC_GITHUB_TOKEN` under: https://github.com/settings/tokens/new and save it to your `.bashrc`.
|
||||
|
||||
TODO: generalize that so that people can upload to their forks.
|
||||
|
||||
=== Fairy tale
|
||||
|
||||
Reference in New Issue
Block a user