Hi, as far as I can see from the gitlab API docs:
https://docs.gitlab.com/ee/api/tags.html#create-a-new-tag
{
"commit": {
"id": "2695effb5807a22ff3d138d593fd856244e155e7",
"short_id": "2695effb",
"title": "Initial commit",
"created_at": "2017-07-26T11:08:53.000+02:00",
"parent_ids": [
"2a4b78934375d7f53875269ffd4f45fd83a84ebe"
],
"message": "Initial commit",
"author_name": "John Smith",
"author_email": "john@example.com",
"authored_date": "2012-05-28T04:42:42-07:00",
"committer_name": "Jack Smith",
"committer_email": "jack@example.com",
"committed_date": "2012-05-28T04:42:42-07:00"
},
"release": {
"tag_name": "1.0.0",
"description": "Amazing release. Wow"
},
"name": "v1.0.0",
"target": "2695effb5807a22ff3d138d593fd856244e155e7",
"message": null,
"protected": false
}
the above are results from creating a tag using the API. I would expect the created_at
is the date when the tag is created. This shows the commit that is related to that tag, release and tag name.
Unfortunately, as you can see from the above results, there is no other date field for the tag creation. I haven’t tested it to verify if that actual created_at is related to a commit made days earlier or not. If this is the case, then it isn’t possible for you to get a date for when the tag was created as the information simply isn’t there.