Skip to content

Commit 3904faa

Browse files
committed
feat: add realese pkg
1 parent 0e5fca4 commit 3904faa

3 files changed

Lines changed: 48 additions & 2 deletions

File tree

.github/SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# **Reporting Security Issues**
2+
3+
If you have found a security issue, thank you for taking the initiative to responsibly disclose your findings. To report it, contact [thapasijan171@gmail.com](mailto:thapasijan171@gmail.com). **Do not open a pull request or issue**. Thank you!

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
release:
15+
name: Release
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Set up C build tools
22+
run: sudo apt-get update && sudo apt-get install -y build-essential
23+
24+
- name: Build project using Makefile
25+
run: make
26+
27+
- name: Archive binary
28+
run: |
29+
mkdir -p release
30+
cp bin/dms release/
31+
tar -czvf dms.tar.gz -C release dms
32+
33+
- name: Create GitHub Release
34+
uses: softprops/action-gh-release@v2
35+
with:
36+
tag_name: v1.0.0 # Replace with dynamic versioning if needed
37+
name: Release v1.0.0
38+
body: |
39+
🛠️ Built automatically using GitHub Actions
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
with:
43+
files: dms.tar.gz

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ TARGET = $(BIN_DIR)/dms
1717
all: banner $(TARGET)
1818

1919
banner:
20-
@echo " "
20+
@echo " "
2121
@echo " ███╗ ██╗ █████╗ ████████╗███████╗ █████╗ ██╗ ██╗ "
2222
@echo " ████╗ ██║██╔══██╗╚══██╔══╝██╔════╝ ██╔══██╗██║ ██║ "
2323
@echo " ██╔██╗██║██║ ██║ ██║ █████╗ ██║ ╚═╝██║ ██║ "
2424
@echo " ██║╚████║██║ ██║ ██║ ██╔══╝ ██║ ██╗██║ ██║ "
2525
@echo " ██║ ╚███║╚█████╔╝ ██║ ███████╗ ╚█████╔╝███████╗██║ "
2626
@echo " ╚═╝ ╚══╝ ╚════╝ ╚═╝ ╚══════╝ ╚════╝ ╚══════╝╚═╝ "
27-
@echo "
27+
@echo " "
2828

2929
$(TARGET): $(OBJS)
3030
@mkdir -p $(BIN_DIR)

0 commit comments

Comments
 (0)