Skip to content

Commit 57058a1

Browse files
committed
Remove unused rev variable
1 parent 813b8a1 commit 57058a1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

scripts/_utils.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ NOTION_ENHANCED_SRC_NAME="enhanced-src"
1616
NOTION_EMBEDDED_NAME="embedded_enhancer"
1717

1818
NOTION_REPACKAGED_REVISION="${NOTION_REPACKAGED_REVISION:-1}"
19-
NOTION_VERSION_REV="${NOTION_VERSION}"
2019
NOTION_REPACKAGED_HOMEPAGE="https://github.com/jamezrin/notion-repackaged"
2120
NOTION_REPACKAGED_REPO=${NOTION_REPACKAGED_REPO:-${NOTION_REPACKAGED_HOMEPAGE}}
2221

scripts/extract-src.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@ pushd "${NOTION_VANILLA_SRC_NAME}" > /dev/null
4141
log "Patching source for fixes..."
4242
sed -i 's|process.platform === "win32"|process.platform !== "darwin"|g' main/main.js
4343
PATCHED_PACKAGE_JSON=$(jq \
44-
--arg version "${NOTION_VERSION_REV}" \
4544
--arg homepage "${NOTION_REPACKAGED_HOMEPAGE}" \
4645
--arg repo "${NOTION_REPACKAGED_REPO}" \
4746
'.dependencies.cld="2.7.0" |
4847
.name="notion-app" |
4948
.homepage=$homepage |
50-
.repository=$repo |
51-
.version=$version' package.json
49+
.repository=$repo' package.json
5250
)
5351
echo "${PATCHED_PACKAGE_JSON}" > package.json
5452

0 commit comments

Comments
 (0)