File tree Expand file tree Collapse file tree 2 files changed +45
-3
lines changed
.github/actions/write-program-buffer Expand file tree Collapse file tree 2 files changed +45
-3
lines changed Original file line number Diff line number Diff line change 51
51
if [ $EXIT_CODE -eq 0 ]; then
52
52
echo "exists=true" >> $GITHUB_OUTPUT
53
53
echo "Program exists, checking size..."
54
- PROGRAM_DATA_LEN =$(echo "$PROGRAM_INFO" | grep "Program data len :" | cut -d ' ' -f4 )
55
- echo "Current program data length: $PROGRAM_DATA_LEN "
56
- echo "data_len=$PROGRAM_DATA_LEN " >> $GITHUB_OUTPUT
54
+ CURRENT_SIZE =$(echo "$PROGRAM_INFO" | grep "Data Length :" | sed -E 's/.*Data Length: ([0-9]+).*/\1/' | cut -d ' ' -f1 )
55
+ echo "Current program data length: $CURRENT_SIZE "
56
+ echo "data_len=$CURRENT_SIZE " >> $GITHUB_OUTPUT
57
57
else
58
58
if echo "$PROGRAM_INFO" | grep -q "Unable to find the account"; then
59
59
echo "exists=false" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change @@ -161,3 +161,45 @@ npx ts-node scripts/squad-closebuffer.ts \
161
161
--keypair ~ /.config/solana/id.json \
162
162
--program " BhV84MZrRnEvtWLdWMRJGJr1GbusxfVMHAwc3pq92g4z"
163
163
```
164
+
165
+ # Release v0.2.1
166
+
167
+ ## Bug Fixes
168
+
169
+ - Fixed program size extraction in buffer write action
170
+
171
+ # Release v0.2.0
172
+
173
+ ## Major Changes
174
+
175
+ - Combined setup actions into a single ` setup-all ` action
176
+ - Improved version management with override capabilities
177
+ - Added support for feature flags in builds and tests
178
+ - Enhanced caching strategy for faster builds
179
+
180
+ ## New Features
181
+
182
+ - Added version override inputs:
183
+ - ` override-solana-version `
184
+ - ` override-anchor-version `
185
+ - Added feature flags support for tests
186
+ - Added toml-cli caching
187
+ - Improved error handling in buffer management
188
+
189
+ ## Breaking Changes
190
+
191
+ - Removed individual setup actions in favor of ` setup-all `
192
+ - Changed input parameter naming convention (using underscores instead of hyphens)
193
+ - Simplified build-verified action inputs
194
+
195
+ ## Bug Fixes
196
+
197
+ - Fixed version extraction logic
198
+ - Fixed cache key generation
199
+ - Fixed buffer authority handling
200
+
201
+ ## Documentation
202
+
203
+ - Updated README with detailed action descriptions
204
+ - Added comprehensive input/output documentation
205
+ - Added buffer cleanup instructions
You can’t perform that action at this time.
0 commit comments