Commit 0f7534e7 authored by onny's avatar onny

support packaging release with krankerl

parent 601d33a9
Pipeline #229 failed with stages
in 11 minutes and 33 seconds
/build
/.editorconfig
/.eslintrc.js
/.git
/.gitignore
/.gitlab-ci.yml
/.l10nignore
/node_modules
/.npmignore
/babel.config.js
/composer.json
/krankerl.toml
/Makefile
/package-lock.json
/package.json
/postcss.config.js
/screenshot.png
/src
/stylelint.config.js
/.tx
/utils
/webpack.js
......@@ -2,6 +2,8 @@
### Fixed
- Add AGPL headers
[#206](https://git.project-insanity.org/onny/nextcloud-app-radio/issues/206) @onny
- Support older browser CSS with autoprefix
[#208](https://git.project-insanity.org/onny/nextcloud-app-radio/issues/208) @onny
## 1.0.0 - 2020-11
### Added
......
......@@ -50,7 +50,7 @@ docker run -v /tmp/dockerdata:/data/data -v /tmp/nextcloud-app-radio:/opt/nextcl
```
## Development notes
### General
While editing the code, you could run following helper script to automatically
compile the project:
```
......@@ -58,9 +58,7 @@ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo s
make watch-js
```
Contribute translations via
[Transifex](https://www.transifex.com/project-insanityorg/radio-2/dashboard/)!
### Translations
Manually generate translations. The following commands will require the
dependency packages ``gettext`` and ``php``.
```
......@@ -70,6 +68,12 @@ php ../docker-ci/translations/translationtool/translationtool.phar create-pot-fi
php ../docker-ci/translations/translationtool/translationtool.phar convert-po-files
```
Contribute translations via
[Transifex](https://www.transifex.com/project-insanityorg/radio-2/dashboard/)!
### Prepare a release
Consoult [Readme.md] on how to prepare a release for Gitlab and the app store.
## Reporting bugs
You can report bugs in the public gitlab repository [here](https://git.project-insanity.org/onny/nextcloud-app-radio/issues) and for discussion you can find a section for the app in the offical Nextcloud forums [here](https://help.nextcloud.com/c/apps/radio).
......
Releasing a new version works quite easy with [krankerl](https://github.com/ChristophWurst/krankerl) and [github-release](https://github.com/aktau/github-release) installed:
1. Run krankerl to build the package
```
krankerl package
```
2. Tag the release on GitHub
```
# For a prerelease
github-release release -u nextcloud -r deck -t v0.3.1 -p
# For a regular release
github-release release -u nextcloud -r deck -t v0.3.1
```
3. Upload the release package to GitHub
```
github-release upload -u nextcloud -r deck -t v0.3.1 -n deck.tar.gz -f build/artifacts/deck.tar.gz
```
4. Run krankerl to release the package to the app store (add `--nightly` for prerelease packages)
```
krankerl publish https://github.com/nextcloud/deck/releases/download/v0.3.1/deck.tar.gz
```
## Release PR template
```
## Backports
- [ ] ...
## Translations
- [ ] ...
## Release
- [ ] Set proper Nextcloud versions in info.xml
- [ ] Update changelog
- [ ] Build test release
- [ ] Tested on
- [ ] Nextcloud 13
- [ ] Nextcloud 14
- [ ] Nextcloud 15
- [ ] Merge
- [ ] Build final release
- [ ] Publish release
- [ ] Upload to the app store
```
[package]
before_cmds = [
"composer install --no-dev -o",
"npm install --deps",
"npm run build",
'make all'
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment