WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Add RevisionTimeStamp as an MSBuild property #1450

@zivkan

Description

@zivkan

It could be useful to know what a commit's timestamp was, in addition to the commit hash/id.

This will allow downstream tooling to use it as appropriate. For example, some basic deployment tools only check file timestamps, so it could be interesting to modify files last write time to the commit timestamp, in order to get deterministic outputs, but still compatible with tools that only use timestamps.

I suggest the timestamp should be in ISO8601 format, possibly with an option to force a specific timezone (commit's original timezone or current machine's local timezone, or UTC)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions