Skip to content

Commit 33e3a4d

Browse files
authored
Fix release syntax & remove nix (#86)
1 parent 5160c0a commit 33e3a4d

File tree

3 files changed

+1
-43
lines changed

3 files changed

+1
-43
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
- uses: Shopify/upload-to-release@master
3434
with:
3535
name: shadowenv-${{ matrix.target }}
36-
path: target/{{ matrix.target }}/release/shadowenv
36+
path: target/${{ matrix.target }}/release/shadowenv
3737
repo-token: ${{ secrets.GITHUB_TOKEN }}

CONTRIBUTING.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
# Releasing Shadowenv
22

33
1. Bump the version in `Cargo.toml`
4-
1. In `default.nix` replace the `cargoSha256` value with "0000000000000000000000000000000000000000000000000000"
5-
1. Run `nix build` and replace `cargoSha256` with the expected hash (which might not have changed after all)
64
1. Commit with the message "bump version to x.y.z".
75
1. Tag the commit as x.y.z (no leading 'v')
86
1. Push the commit and the tag
97
1. Create a new release at https://github.com/Shopify/shadowenv/releases
10-
11-
## (shopify-internal) releasing to `dev`:
12-
13-
1. `dev clone dev`, fetch master, etc.
14-
1. Run `dev prefetch-shopify-repo shadowenv <version>` to get nix hash
15-
1. In the `shadowenv` section of `src/nixpkgs-overlay/default.nix`
16-
1. Update `version`
17-
1. Update `src > sha256` with the nix hash from step #2 above
18-
1. Update `cargoDeps > outputHash` with the `cargoHash256` value from Shadowenv's `default.nix` if needed
19-
1. `dev test-nix-package shadowenv`
20-
1. Commit, put, PR, you know the drill.

default.nix

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)