Skip to content

Commit d385806

Browse files
authored
Merge pull request #20 from Automattic/release/2.5.0
Bump version to 2.5.0
2 parents 6bcfa47 + c770ed9 commit d385806

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ jobs:
3131
- name: Build binaries inside the container
3232
run: |
3333
set -x
34+
35+
# what's the package version?
36+
# e.g. Binary staged at "build/stage/Automattic/node-yara/raw/master/binaries/yara-v2.5.0-linux-x64.tar.gz"
37+
export PACKAGE_VERSION=$(jq -r .version package.json)
3438
3539
# build inside the container and copy the package to the host
3640
docker build -t yara/debian .
3741
docker images
38-
docker run --rm --volume /tmp:/tmp yara/debian cp ./binaries/yara-*-linux-*.tar.gz /tmp
39-
ls -lh /tmp/yara-*
42+
docker run --rm --volume /tmp:/tmp yara/debian cp ./binaries/yara-v${PACKAGE_VERSION}-linux-x64.tar.gz /tmp
43+
ls -lh /tmp/yara-v${PACKAGE_VERSION}-*
4044
4145
# copy it to the repository clone and see if there's a difference
42-
cp /tmp/yara-* ./binaries
46+
cp /tmp/yara-v${PACKAGE_VERSION}-* ./binaries
4347
git status --porcelain
4448
4549
# By default, the commit is made in the name of "GitHub Actions"
588 KB
Binary file not shown.
273 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@automattic/yara",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "Automattic's fork of YARA support for Node.js",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)