Skip to content

Commit

Permalink
NXDRIVE-2452: Add release dates in versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickaël Schoentgen authored and BoboTiG committed Dec 14, 2020
1 parent 21f43bf commit 48dba5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/changes/4.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Release date: `2020-xx-xx`
- [NXDRIVE-2398](https://jira.nuxeo.com/browse/NXDRIVE-2398): Upgrade PyInstaller to 4.1
- [NXDRIVE-2399](https://jira.nuxeo.com/browse/NXDRIVE-2399): Temporary stop releasing a GNU/Linux version
- [NXDRIVE-2401](https://jira.nuxeo.com/browse/NXDRIVE-2401): Upgrade the Docker build workflow to the new action version
- [NXDRIVE-2452](https://jira.nuxeo.com/browse/NXDRIVE-2452): Add release dates in `versions.yml`

## Tests

Expand Down
9 changes: 5 additions & 4 deletions tools/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
import hashlib
import os
import os.path
from datetime import datetime, timezone

import yaml

__version__ = "1.0.0"
__version__ = "1.1.0"
__all__ = ("create", "delete", "merge", "promote")


Expand Down Expand Up @@ -98,13 +99,13 @@ def create(version, category):
"10.3": "10.3-SNAPSHOT"
"10.10": "10.10-SNAPSHOT"
"""
today = datetime.now(timezone.utc).strftime("%Y-%m-%d")
yml = {
version: {
"checksum": {"algo": "sha256"},
"date": today,
"min": "7.10",
"type": category,
"checksum": {
"algo": "sha256",
},
}
}
if checksum_appimage:
Expand Down

0 comments on commit 48dba5e

Please sign in to comment.