Compare commits

..
Author SHA1 Message Date
github-actions[bot] 84d3c9bd85 chore(release): 2.1 2026-05-25 14:57:19 +00:00
4 changed files with 26 additions and 54 deletions
+8 -4
View File
@@ -17,6 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install GitHub CLI
run: sudo apt-get update && sudo apt-get install -y gh
- name: Configure git
run: |
git config user.name "github-actions[bot]"
@@ -26,7 +30,7 @@ jobs:
- name: Create release branch
run: |
git checkout -B release/${{ inputs.version }}
git checkout -B release/v${{ inputs.version }}
- name: Set version in flake.nix
run: |
@@ -42,14 +46,14 @@ jobs:
- name: Push branch
run: |
git push origin release/${{ inputs.version }}
git push origin release/v${{ inputs.version }}
- name: Create Pull Request
run: |
gh pr create \
--base main \
--head release/v${{ inputs.version }} \
--title "[Automatic] Release PR ${{ inputs.version }}" \
--body "Automated release PR.\nAfter the test's succesfull run, create manually a release with a new tag matching ${{ inputs.version }}"
--title "[Automatic] Release v${{ inputs.version }}" \
--body "Automated release PR.\nAfter the test's succesfull run, create manually a release with a new tag matching `${{ inputs.version }}`"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -21
View File
@@ -57,26 +57,6 @@ You must also have a [supported editor (and their associated plugin if needed)](
## How to install
### Nix flakes
Add this to your inputs in flake.nix:
```nix
notewrapper = {
url = "github:tomasriveral/notewrapper";
};
```
If your flake already inputs nixpkgs and/or flake-utils, you can follow it:
```nix
notewrapper = {
url = "github:tomasriveral/notewrapper;
inputs.nixpkgs.follow = "nixpkgs";
inputs.flake-utils.follow = "flake-utils";
};
```
### Building from source
1. Install all required dependencies listed above.
2. Ensure you have a supported editor installed.
3. Clone the repository:
@@ -109,7 +89,7 @@ make
---
### Packaging
## Packaging
There is currently no official package available for NoteWrapper.
Generated
+4 -21
View File
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"lastModified": 1779508470,
"narHash": "sha256-Ap9KJX+5xHIn3bPIpfNgT6MEXdAECECwo4/rmlQD74M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"rev": "29916453413845e54a65b8a1cf996842300cd299",
"type": "github"
},
"original": {
@@ -34,27 +34,10 @@
"type": "github"
}
},
"notewrapper": {
"flake": false,
"locked": {
"lastModified": 1779789213,
"narHash": "sha256-N+5RH2qF5VdBmfIdxRhg7DceH7ALAie+kFOR7xL1pDs=",
"owner": "tomasriveral",
"repo": "NoteWrapper",
"rev": "f7c84136a5ff4a0712b31cbb41ce3e1dd7fde8d3",
"type": "github"
},
"original": {
"owner": "tomasriveral",
"repo": "NoteWrapper",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"notewrapper": "notewrapper"
"nixpkgs": "nixpkgs"
}
},
"systems": {
+13 -8
View File
@@ -4,22 +4,23 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
notewrapper = {
url = "github:tomasriveral/NoteWrapper";
flake = false;
};
};
outputs = { self, nixpkgs, flake-utils, notewrapper }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
packages.default = pkgs.stdenv.mkDerivation (finalAttrs: {
pname = "notewrapper";
version = "v2.1.1";
version = "2.1";
src = notewrapper;
src = pkgs.fetchFromGitHub {
owner = "tomasriveral";
repo = "NoteWrapper";
tag = "v${finalAttrs.version}";
hash = "sha256-JoI38n5RZ/s0n+Vr9Bri2oiFeyj7Xrt1AmglmcuMpmQ=";
};
nativeBuildInputs = with pkgs; [
pkg-config
@@ -36,8 +37,12 @@
gnused
];
makeFlags = [
"VERSION=2.0"
];
buildPhase = ''
make VERSION=${finalAttrs.version}
make
'';
installPhase = ''