Skip to content

Commit 49720fe

Browse files
authored
Merge pull request #1 from DevopsArtFactory/docs/add-project-docs-and-english-only
add documents and construts opensource
2 parents ba6f974 + ebc508c commit 49720fe

14 files changed

Lines changed: 1878 additions & 1 deletion
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Report a reproducible problem
4+
labels: bug
5+
---
6+
7+
## Summary
8+
Describe the bug clearly.
9+
10+
## Environment
11+
- OS:
12+
- CLI version (`ende --version`):
13+
- Install method:
14+
15+
## Steps to reproduce
16+
1.
17+
2.
18+
3.
19+
20+
## Expected behavior
21+
22+
## Actual behavior
23+
24+
## Logs / output
25+
```text
26+
paste logs here
27+
```
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an improvement
4+
labels: enhancement
5+
---
6+
7+
## Problem statement
8+
What problem are you trying to solve?
9+
10+
## Proposed solution
11+
Describe your proposed behavior/API/UX.
12+
13+
## Alternatives considered
14+
What other options did you evaluate?
15+
16+
## Additional context
17+
Any constraints, examples, or references.

.github/pull_request_template.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Summary
2+
Describe what this PR changes.
3+
4+
## Why
5+
Explain the motivation and impact.
6+
7+
## Changes
8+
-
9+
-
10+
11+
## Validation
12+
- [ ] `go test ./...`
13+
- [ ] docs updated (if behavior changed)
14+
- [ ] security impact reviewed (if applicable)
15+
16+
## Checklist
17+
- [ ] Backward compatibility considered
18+
- [ ] Release notes/changelog impact considered

.github/workflows/release.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version-file: go.mod
24+
25+
- name: Build release packages
26+
env:
27+
VERSION: ${{ github.ref_name }}
28+
COMMIT: ${{ github.sha }}
29+
run: |
30+
set -euo pipefail
31+
SHORT_COMMIT="$(echo "$COMMIT" | cut -c1-7)"
32+
make package VERSION="$VERSION" COMMIT="$SHORT_COMMIT"
33+
34+
- name: Upload workflow artifact
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: ende-release-${{ github.ref_name }}
38+
path: |
39+
dist/ende*
40+
dist/packages/*
41+
if-no-files-found: error
42+
43+
- name: Create GitHub Release and upload assets
44+
uses: softprops/action-gh-release@v2
45+
with:
46+
tag_name: ${{ github.ref_name }}
47+
generate_release_notes: true
48+
files: |
49+
dist/ende*
50+
dist/packages/*.tar.gz
51+
dist/packages/*.zip
52+
dist/packages/SHA256SUMS

0 commit comments

Comments
 (0)