Skip to content

Commit

Permalink
update: automatically release
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Jan 25, 2024
1 parent 0e5d7ac commit 5ad1d12
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.x'

- run: python3 craft.py

- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: ${{ github.workspace }}/version.txt
files: |
${{ github.workspace }}/createhackenv.sh
16 changes: 16 additions & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Weaponaized your VSCode

## What is this?

This is a simple script that will allow you to use VSCode as a weapon.

It will open a new VSCode window and will open a new file with the name of the file you given.

The `.vscode` folder will be created, and vscode will loaded settings from it.

## How to use it?

1. Download the script
2. source it
3. use function `createhack <foldername>` with the name of the file you want to open
4. vscode will Automatically open the folder

0 comments on commit 5ad1d12

Please sign in to comment.