Skip to content

Commit 5ad1d12

Browse files
committed
update: automatically release
1 parent 0e5d7ac commit 5ad1d12

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v2
17+
18+
- name: Set up Python 3.8
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: '3.x'
22+
23+
- run: python3 craft.py
24+
25+
- name: Create Release
26+
uses: softprops/action-gh-release@v1
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
with:
30+
body_path: ${{ github.workspace }}/version.txt
31+
files: |
32+
${{ github.workspace }}/createhackenv.sh

version.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Weaponaized your VSCode
2+
3+
## What is this?
4+
5+
This is a simple script that will allow you to use VSCode as a weapon.
6+
7+
It will open a new VSCode window and will open a new file with the name of the file you given.
8+
9+
The `.vscode` folder will be created, and vscode will loaded settings from it.
10+
11+
## How to use it?
12+
13+
1. Download the script
14+
2. source it
15+
3. use function `createhack <foldername>` with the name of the file you want to open
16+
4. vscode will Automatically open the folder

0 commit comments

Comments
 (0)