This file contains hidden or 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
Show hidden characters
// devcontainer.json | |
{ | |
"name": "TensorFlow GPU", | |
"build": { | |
"dockerfile": "Dockerfile" | |
}, | |
"runArgs": ["--gpus=all"] | |
} |
This file contains hidden or 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
{ | |
"name": "fastlane-plugin-flutter_version", | |
"version": "1.1.5", | |
"description": "TBH this is only for releasing the package...", | |
"scripts": { | |
"release": "semantic-release" | |
}, | |
"devDependencies": { | |
"@semantic-release/changelog": "^5.0.1", | |
"@semantic-release/git": "^9.0.0", |
This file contains hidden or 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
name: Publish Package | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
release-to-registries: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] |
This file contains hidden or 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
{ | |
"branches": [ | |
"main" | |
], | |
"plugins": [ | |
"@semantic-release/commit-analyzer", | |
"@semantic-release/release-notes-generator", | |
[ | |
"@semantic-release/npm", | |
{ |
This file contains hidden or 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
npm init | |
# Note that it doesnt matter what information we initialize | |
# the Node.js package with since we are just using it to | |
# release the Ruby packages. | |
npm install --save-dev semantic-release | |
npm install --save-dev @semantic-release/changelog | |
npm install --save-dev @semantic-release/git |
This file contains hidden or 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
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: npm ci && npm run dist |
This file contains hidden or 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
{ | |
"scripts": { | |
"build": "tsc", | |
"compile": "ncc build lib/index.js --out compiled --license licenses.txt", | |
"dist": "npm run build && npm run compile" | |
}, | |
"devDependencies": { | |
"@vercel/ncc": "^0.28.5" | |
} | |
} |
This file contains hidden or 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
npm install --save-dev semantic-release | |
npx semantic-release-cli setup |
This file contains hidden or 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
name: Release Actions | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 |
This file contains hidden or 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
{ | |
"branches": ["main"], | |
"plugins": [ | |
"@semantic-release/commit-analyzer", | |
"@semantic-release/release-notes-generator", | |
"@semantic-release/changelog", | |
["@semantic-release/npm", { "npmPublish": false}], | |
["@semantic-release/git", | |
{ | |
"assets": ["package.json", "package-lock.json", "compiled/index.js", "CHANGELOG.md"], |