[go] Leave timestamp if no files were updated

Keep track of what files were actually updated/copied/removed
and only if anything was updated, refresh the timestamp.

Bug: 135011

Change-Id: I9fe31fdeef551a5ae5622869e598e43ada9c8b23
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/959462
Commit-Queue: David Fang <fangism@google.com>
Reviewed-by: Aaron Wood <aaronwood@google.com>
Reviewed-by: Bruno Dal Bo <brunodalbo@google.com>
2 files changed
tree: 12e7fba24140cc5353ebcde524d3df060210aa4a
  1. .github/
  2. api/
  3. doc/
  4. lib/
  5. makefuchsia/
  6. makeroot/
  7. meta/
  8. misc/
  9. src/
  10. test/
  11. .gitattributes
  12. .gitignore
  13. BUILD.gn
  14. codereview.cfg
  15. CONTRIBUTING.md
  16. go.env
  17. LICENSE
  18. OWNERS
  19. PATENTS
  20. README.md
  21. regen-api
  22. regen-api.py
  23. regen-fidl
  24. regen-syscalls
  25. SECURITY.md
  26. UPGRADE.md
  27. VERSION
README.md

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Download and Install

Binary Distributions

Official binary distributions are available at https://go.dev/dl/.

After downloading a binary release, visit https://go.dev/doc/install for installation instructions.

Install From Source

If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.

Contributing

Go is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.

Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.