Skip to content

Commit e8a9ff7

Browse files
author
Srdan Kvrgic
committed
How to deploy
1 parent c7cd77a commit e8a9ff7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,33 @@ You might end up with enabling old .Net SDKs in Windows Feature Panel.
5555

5656
Releases use Pahkat to provide installers to users via special urls. The Pahkat Index, which represents packages available for download, can be viewed [here](https://github.com/divvun/pahkat.uit.no-index). Except for Stable releases, which must be done manually, new installers are added to the index automatically on successful build.
5757

58+
59+
```sh
60+
nano version.json #change the version
61+
git commit version -m "v2.5.0 ..."
62+
git tag v2.5.0
63+
git push
64+
git push origin v2.5.0
65+
```
66+
67+
This will trigger the nightly build jobs first. And then trigger the job to build you 2.5.0.
68+
69+
Nightlies are auto updated in the repository. New versions are not. Well.. They kinda are. But they're added to the beta channel. So you need to copy the release of the beta version (which still needs to be there it seems?) and just remove the beta channel making it a main release.
70+
71+
So you need to go to [email protected]:divvun/pahkat.uit.no-index.git. Edit divvun-installer/packages/divvun-installer/index.toml and divvun-installer/packages/divvun-installer-oneclick/index.toml
72+
73+
See https://github.com/divvun/pahkat.uit.no-index/commit/6bdc7f1a98b9242ca3ae2661d28bf2aad8c146ce for reference.
74+
75+
The repo will need to be pushed onto the pahkat repository. This gets done any time any other project is updated. So you can go ahead and just trigger any job that would generate an artifact.
76+
77+
5878
## How to Add/Remove Languages and Regions
5979

6080
Divvun Manager is rendering this landing page https://pahkat.uit.no/main/landing/index.html to display all available languages and regions.
6181

6282
In order to add a new language or a region, [region.json](https://github.com/divvun/pahkat-web-ui/blob/master/public/regions.json) should be updated in the [pahkat-web-ui](https://github.com/divvun/pahkat-web-ui) repository and genereted files needs to be copied into `pahkat.uit.no-index/main/landing` directory in the [pahkat.uit.no-index](https://github.com/divvun/pahkat.uit.no-index) repo.
6383

84+
6485
### Old guide
6586

6687
Open in Visual Studio 2017, run build in Release.

0 commit comments

Comments
 (0)