Commit graph

36 commits

Author SHA1 Message Date
Nicolas Lœuillet
8ee95437a0
Fix typo 2023-08-19 07:18:13 +02:00
Nicolas Lœuillet
ef5b43f55c Add check if git is installed
Fix #3589
2023-08-19 07:17:06 +02:00
Jeremy Benoist
42b03d2834
Fix release script
The release script cloned the master branch by default because we never have to clone something else from now.
The script will now clone the tag using the given VERSION parameter.
2023-02-03 10:10:35 +01:00
Jeremy Benoist
aa029ea73e
Automatically create the package after a release
And then upload it to the created release.
One less step during the release process 💪

We are using that GitHub Actions: https://github.com/shogo82148/actions-upload-release-asset

I've also:
- updated the release script to clone the repo using `https` instead of `git` (otherwise it failed during the build)
- use `md5sum` instead of `md5` because the latest isn't available in GitHub Actions
2022-06-09 11:30:14 +02:00
oupala
fc4c97e413 feat: change the name of the static package's root directory
Change the name of the static package's root directory so that it is `wallabag-2.4.2` instead of simply `2.4.2`.
2022-01-07 14:27:35 +01:00
oupala
3ac38d6e00
fix: shellcheck warnings
Fix shellcheck warnings in order to improve robustness of this script.
2022-01-06 21:49:25 +01:00
Ryman
9aafecb477
Fix link to composer installation requirements
The current link 404s and the link to https://doc.wallabag.org/en/admin/installation/installation.html does not give enough context about `composer` so I've linked to the requirements page instead.
2020-07-25 15:32:27 +02:00
Luc Didry
488e3d7a91
Add environment variables to control scripts/dev.sh behavior 2019-10-09 19:33:27 +02:00
Jeremy Benoist
0a258f85be
Return a different code when git isn't installed 2019-06-14 11:28:23 +02:00
Jeremy Benoist
7a82953b3e
Check if .git directory exist
If that folder doesn’t exist, it means the udpate script won’t be able to run because it uses git to retrieve the update.
2019-06-14 10:13:40 +02:00
Jeremy Benoist
6546aca4a3
Keep composer.lock
We initially ignored the `composer.lock` because it generated a lock of rebase on PR when someone updated it and the master updated it too.
Now we have less contributions (sadly) so I think we won't run against that problem.
Also, it'll solve issue about people cloning the master and got angry because composer eat all the available memory to determine packages to install.
It'll also be much easier to make release.
Scrutinizer & Travis will be faster too.
2019-05-29 11:41:07 +02:00
Matthias Baur
7c553a6017
Properly source require.sh
Fixes #3571.
2019-03-12 15:44:38 +01:00
Martin Trigaux
c01bda038e Allow optional --ignore-root-warning
Now both
./install prod --ignore-root-warning
./install --ignore-root-warning prod

will work

$1 was both used for the environment and the root flag

Fixes wallabag/wallabag#3884
2019-02-14 16:42:57 +05:30
Jeremy Benoist
4fd5f670fe
Jump to 2.3.6-dev and update release process
Fix release archive in `release.sh` and also fix a typo in the release process
2018-12-15 08:14:47 +01:00
Jeremy Benoist
a03c4d90b2
Jump to 2.3.5-dev and update release process
After the latest release, I update the documentation about it so it’s more clear
2018-11-25 09:43:21 +01:00
Kevin Decherf
ae4f7dceec
Merge pull request #3733 from Deuchnord/root-abort-update
Abort running install and update script if root
2018-10-17 11:26:12 +02:00
Jérôme Deuchnord
c2bd272cf3 Added argument to ignore the warning. 2018-10-16 20:34:28 +02:00
Kevin Decherf
0ebf595c11
Merge pull request #3706 from shtrom/fix/gnu-make-bash
Makefile fixes for non GNU systems
2018-10-14 20:07:42 +02:00
Jérôme Deuchnord
23aa47d828 Abort running install and update script if root (closes #3590) 2018-10-06 12:23:40 +02:00
Olivier Mehani
681e04b060
Makefile fixes for non GNU systems
* Move `Makefile` to `GNUmakefile`, which GNU `make` picks first
* Add `Makefile` so other `make`s forward to `gmake`
* Set the `SHELL` variable and let `make` handle the shell

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2018-08-18 18:50:18 +10:00
Jeremy Benoist
2bf568ff46
Update release script 2018-08-17 14:40:06 +02:00
Sven Fischer
f3e71b5dd5 add set -eu to update.sh
fixes #2957
2018-01-03 05:34:29 +01:00
Nicolas Lœuillet
1d13376df6
Fixed symlinks issue during release creation 2017-03-01 14:17:07 +01:00
FoxMaSk
205c6f0c66 scripts/update.sh: 18: scripts/update.sh: composer.phar: not found
when composer.phar is not globally installed, we should add "./" in front of "composer.phar" to run it from the current folder.
2017-02-04 17:02:25 +01:00
Nicolas Lœuillet
c8cd1660af
Fixed update script 2017-01-23 14:43:00 +01:00
Nicolas Lœuillet
c8ef0583af Added explanations about migrations 2017-01-23 12:42:58 +01:00
Darius Kramer
7d173a28c7 Reorder variable assignation in update.sh script, fix #2554 2016-11-07 09:55:03 +01:00
FoxMaSk
99692e8c33 fix path for in install scripts 2016-10-30 22:46:09 +01:00
FoxMaSk
038469e73f fix path for in install scripts 2016-10-30 22:38:38 +01:00
Nicolas Lœuillet
c4d9a8d6d0
Usage of composer.phar if it's found 2016-10-27 10:09:43 +02:00
Nicolas Lœuillet
9998c72533
Added require.sh to check if composer is installed 2016-10-27 09:53:09 +02:00
Nicolas Lœuillet
c5ad143e75
Added a check in Makefile to see if composer is installed
Fix #2498
2016-10-24 22:28:44 +02:00
Thomas Citharel
f48a6f3a54 Bring make dev 2016-10-15 15:16:35 +02:00
Nicolas Lœuillet
7c1225347d
Update documentation 2016-10-10 10:20:32 +02:00
Nicolas Lœuillet
84e3c36e02
Added documentation about testsuite
Fix #2415
2016-10-10 09:15:53 +02:00
Nicolas Lœuillet
4e7863c6aa
Created scripts folder to store update/install/release process 2016-10-09 21:50:15 +02:00