fix: use different release action
This commit is contained in:
parent
eba0067e1e
commit
2361602b62
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -24,13 +24,6 @@ jobs:
|
|||||||
run: nix develop --command ts-build
|
run: nix develop --command ts-build
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: googleapis/release-please-action@v4
|
uses: softprops/action-gh-release@v2
|
||||||
id: release
|
|
||||||
with:
|
with:
|
||||||
release-type: simple
|
files: build/.
|
||||||
|
|
||||||
- name: Upload release artifacts
|
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: gh release upload ${{ steps.release.outputs.tag_name }} ./build/.
|
|
@ -160,10 +160,10 @@
|
|||||||
cd "''${git_root}"
|
cd "''${git_root}"
|
||||||
nix-update --flake --version "''${next_version}" --subpackage client default
|
nix-update --flake --version "''${next_version}" --subpackage client default
|
||||||
git add flake.nix
|
git add flake.nix
|
||||||
git commit -m "bump: ${version} -> ''${next_version}"
|
git commit -m "bump: v${version} -> v''${next_version}"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
||||||
git tag -a "v''${next_version}" -m "bump: ${version} -> ''${next_version}"
|
git tag -a "v''${next_version}" -m "bump: v${version} -> v''${next_version}"
|
||||||
git push origin "v''${next_version}"
|
git push origin "v''${next_version}"
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user