Skip to content

Commit

Permalink
ci(release): update versioning schema and release day/time
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Apr 13, 2024
1 parent dd3ab3d commit 52ab348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release new version

on:
schedule:
- cron: '0 1 * * 1'
- cron: '0 23 * * 0'
workflow_dispatch:

permissions:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Generate release tag
id: tag
run: echo tag=$(echo "v23.11.$(date "+%Y%m%d")") >> "$GITHUB_OUTPUT"
run: echo tag="v$(date "+%Y.%V")" >> "$GITHUB_OUTPUT"

- uses: marvinpinto/action-automatic-releases@latest
with:
Expand Down
8 changes: 4 additions & 4 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ nix why-depends .#<PACKAGE> .#<DEPENDENCY>
* Thursday - Friday: pull from Nixpkgs master to Geospatial NIX master,
integration, testing

* Monday (1 AM): automatic release of new version
* Sunday (11 PM): automatic release of new version

### Packages update process

* Create a `pkgs-weekly-update` branch to collect all package updates
in this branch and create PR (Monday)
```bash
git checkout -b pkgs-weekly-update-$(date "+%Y-%V")
git checkout -b pkgs-weekly-update-$(date "+%Y.%V")

git push --set-upstream origin pkgs-weekly-update-$(date "+%Y-%V")
git push --set-upstream origin pkgs-weekly-update-$(date "+%Y.%V")
```

* Change base of automatically created flake update PR (`flake-update-action-pr`
Expand All @@ -82,7 +82,7 @@ git push --set-upstream origin pkgs-weekly-update-$(date "+%Y-%V")
```
git pull
gh pr create --title "pkgs: weekly update $(date "+%Y-%V")"
gh pr create --title "pkgs: weekly update $(date "+%Y.%V")"
```

* Pull from the latest Nixpkgs master (Thursday - Friday)
Expand Down

0 comments on commit 52ab348

Please sign in to comment.