Browse Source
Bugfix: sanatise usernames before spawning processes Bugfix: remove empty spaces from ssh args Bugfix: remove unneeded arg for github publish actionpull/342/head v2.1.0
butlerx
3 years ago
8 changed files with 1895 additions and 1377 deletions
@ -0,0 +1,21 @@ |
|||
--- |
|||
name: Create Release |
|||
on: |
|||
push: |
|||
tags: |
|||
- 'v*' |
|||
jobs: |
|||
build: |
|||
name: Create Release |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: Checkout code |
|||
uses: actions/checkout@master |
|||
- name: Create Release |
|||
id: create_release |
|||
uses: actions/create-release@latest |
|||
env: |
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|||
with: |
|||
tag_name: ${{ github.ref }} |
|||
release_name: Release ${{ github.ref }} |
@ -0,0 +1,2 @@ |
|||
export const escapeShell = (username: string): string => |
|||
username.replace(/[^a-zA-Z0-9-_]/g, ''); |
File diff suppressed because it is too large
Loading…
Reference in new issue