File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "$schema": "https://ferrflow.com/schema/ferrflow.json",
33 "workspace": {
44 "tagTemplate": "v{version}",
5+ "floatingTags": ["major"],
56 "hooks": {
67 "postBump": "node scripts/sync-optional-deps.js"
78 }
Original file line number Diff line number Diff line change @@ -109,11 +109,16 @@ jobs:
109109 with :
110110 fetch-depth : 0
111111 token : ${{ secrets.FERRFLOW_TOKEN }}
112+ - uses : dtolnay/rust-toolchain@nightly
113+ - uses : Swatinem/rust-cache@v2
112114 - name : Configure git
113115 run : git remote set-url origin https://x-access-token:${{ secrets.FERRFLOW_TOKEN }}@github.com/${{ github.repository }}
114- - uses : FerrFlow-Org/ferrflow@v2
115- with :
116- dry_run : ${{ inputs.dry_run }}
116+ - name : Build ferrflow
117+ run : cargo build --release
118+ env :
119+ FERRFLOW_HMAC_SECRET : ${{ secrets.FERRFLOW_HMAC_SECRET }}
120+ - name : Run ferrflow release
121+ run : ./target/release/ferrflow ${{ inputs.dry_run == 'true' && '--dry-run' || '' }} release
117122 env :
118123 FERRFLOW_TOKEN : ${{ secrets.FERRFLOW_TOKEN }}
119124 GITHUB_TOKEN : ${{ secrets.FERRFLOW_TOKEN }}
Original file line number Diff line number Diff line change @@ -201,35 +201,6 @@ jobs:
201201 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
202202 run : bash npm/scripts/publish-wasm.sh "${{ steps.version.outputs.value }}"
203203
204- update-major-tag :
205- name : Update major version tag
206- needs : release
207- runs-on : ubuntu-latest
208- concurrency :
209- group : update-major-tag
210- cancel-in-progress : false
211- permissions :
212- contents : write
213- steps :
214- - name : Resolve tag
215- id : tag
216- run : |
217- if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
218- echo "name=${{ inputs.tag }}" >> $GITHUB_OUTPUT
219- else
220- echo "name=${{ github.ref_name }}" >> $GITHUB_OUTPUT
221- fi
222- - uses : actions/checkout@v6
223- with :
224- ref : ${{ steps.tag.outputs.name }}
225- - name : Move major version tag
226- run : |
227- MAJOR="v$(echo "${TAG#v}" | cut -d. -f1)"
228- git tag -f "$MAJOR"
229- git push origin "refs/tags/$MAJOR" --force
230- env :
231- TAG : ${{ steps.tag.outputs.name }}
232-
233204 publish-docker :
234205 name : Publish Docker
235206 needs : release
You can’t perform that action at this time.
0 commit comments