Skip to content

Commit 154644d

Browse files
committed
Disable automatic library commits to repository (v1.0.1)
- Bumped version to 1.0.1 in stackman.h - Disabled commit-artifacts job in workflow (if: false) - Added lib/README.md documenting deprecation - Libraries now available exclusively via GitHub Releases - Reduces repository bloat and merge conflicts
1 parent fdb6f5e commit 154644d

File tree

3 files changed

+55
-3
lines changed

3 files changed

+55
-3
lines changed

.github/workflows/buildcommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
commit-artifacts:
9191
runs-on: ubuntu-latest
9292
needs: [build-linux-gnu, build-windows]
93-
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/') }}
93+
if: false # Disabled - libraries no longer committed to repository
9494
steps:
9595
- uses: actions/checkout@v4
9696
- uses: actions/download-artifact@v4

lib/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Pre-built Libraries
2+
3+
## ⚠️ DEPRECATED - Slated for Removal
4+
5+
The pre-built library files in this directory are **deprecated** and will be removed in a future release.
6+
7+
### Why are they being removed?
8+
9+
1. **Binary files in git cause issues:**
10+
- Merge conflicts that are difficult to resolve
11+
- Repository bloat (git doesn't compress binaries well)
12+
- Noise commits from automated builds
13+
14+
2. **Better alternatives are available:**
15+
- Download libraries from [GitHub Releases](https://github.com/stackless-dev/stackman/releases)
16+
- Build from source (fast: <1 second with `make all`)
17+
- Use workflow artifacts for development builds
18+
19+
### Migration Guide
20+
21+
**For stable versions:**
22+
- Download pre-built libraries from [Releases](https://github.com/stackless-dev/stackman/releases)
23+
- Each release includes all platform libraries + combined archive
24+
25+
**For development:**
26+
- Build locally: `make all` (requires appropriate toolchain)
27+
- Download workflow artifacts from GitHub Actions runs
28+
- Libraries are available as build artifacts for 90 days
29+
30+
**Example:**
31+
```bash
32+
# Download release
33+
wget https://github.com/stackless-dev/stackman/releases/download/v1.0.0/libstackman.a
34+
35+
# Or build from source (fast!)
36+
make clean && make all
37+
```
38+
39+
### Timeline
40+
41+
- **v1.0.0**: Libraries still committed (this directory)
42+
- **v1.0.1**: Library commits disabled, this directory marked deprecated
43+
- **v2.0.0**: This directory will be removed entirely
44+
45+
### Current Platforms
46+
47+
The following platforms are available in releases:
48+
49+
- **Linux**: sysv_amd64, sysv_i386, arm32 (AAPCS), aarch64 (AAPCS64)
50+
- **Windows**: win_x86, win_x64, win_arm64
51+
52+
See the [main README](../README.md) for more information.

stackman/stackman.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
/* Version information */
66
#define STACKMAN_VERSION_MAJOR 1
77
#define STACKMAN_VERSION_MINOR 0
8-
#define STACKMAN_VERSION_PATCH 0
8+
#define STACKMAN_VERSION_PATCH 1
99

1010
/* Version as a string */
11-
#define STACKMAN_VERSION "1.0.0"
11+
#define STACKMAN_VERSION "1.0.1"
1212

1313
/* Version as a single number for comparisons (MMmmpp: Major, minor, patch) */
1414
#define STACKMAN_VERSION_NUMBER ((STACKMAN_VERSION_MAJOR * 10000) + \

0 commit comments

Comments
 (0)