Skip to content

Commit 54c6b5e

Browse files
committed
Include version in released zip and crx files (fixes #82)
1 parent feb322d commit 54c6b5e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ dist: clean extension chromium firefox crx-webstore crx-github
7878

7979
git archive -o dist/browserpass-extension-$(VERSION).tar.gz --format tar.gz --prefix=browserpass-extension-$(VERSION)/ $(VERSION)
8080

81-
(cd chromium && zip -r ../dist/chromium.zip *)
82-
(cd firefox && zip -r ../dist/firefox.zip *)
81+
(cd chromium && zip -r ../dist/browserpass-chromium-$(VERSION).zip *)
82+
(cd firefox && zip -r ../dist/browserpass-firefox-$(VERSION).zip *)
8383

84-
mv browserpass-webstore.crx dist/
85-
mv browserpass-github.crx dist/
84+
mv browserpass-webstore.crx dist/browserpass-webstore-$(VERSION).crx
85+
mv browserpass-github.crx dist/browserpass-github-$(VERSION).crx
8686

8787
for file in dist/*; do \
8888
gpg --detach-sign "$$file"; \
@@ -93,5 +93,5 @@ dist: clean extension chromium firefox crx-webstore crx-github
9393
mkdir -p dist-webstore
9494
cp -a chromium dist-webstore/
9595
sed -i '/"key"/d' dist-webstore/chromium/manifest.json
96-
(cd dist-webstore/chromium && zip -r ../chrome.zip *)
96+
(cd dist-webstore/chromium && zip -r ../chrome-$(VERSION).zip *)
9797
rm -rf dist-webstore/chromium

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ In order to install Browserpass correctly, you have to install two of its compon
4949
- This extension has the same ID as the one in Chrome Web Store, so when a new version will appear in Web Store, it will auto-update! Use if you want to be on latest and greatest version.
5050
- Download `browserpass-github.crx` from the latest release and drag'n'drop it into `chrome://extensions`
5151
- This extension has a different ID comparing to the one in Chrome Web Store, so you will not receive any auto-updates! Use for creating distro packages, or if you simply don't tolerate being forced to update when a new version is released.
52-
- Download `chromium.zip`, unarchive and use `Load unpacked extension` in `chrome://extensions` in Developer mode.
52+
- Download `browserpass-chromium.zip`, unarchive and use `Load unpacked extension` in `chrome://extensions` in Developer mode.
5353
- Browser extension for Firefox-based browsers (choose one of the options):
5454
- Install the extension from [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/browserpass-ce/) (which will provide auto-updates)
55-
- Download `firefox.zip` from the latest release, unarchive and use `Load Temporary Add-on` on `about:debugging#addons` (remember the extension will be removed after browser is closed!).
55+
- Download `browserpass-firefox.zip` from the latest release, unarchive and use `Load Temporary Add-on` on `about:debugging#addons` (remember the extension will be removed after browser is closed!).
5656

5757
### Verifying authenticity of the Github releases
5858

0 commit comments

Comments
 (0)