What method can add a version number at the back of the file?
See original GitHub issue<html>
<head>
<!-- build:css css/combined.css -->
<link href="css/one.css" rel="stylesheet">
<link href="css/two.css" rel="stylesheet">
<!-- endbuild -->
</head>
<body>
<!-- build:js scripts/combined.js -->
<script type="text/javascript" src="scripts/one.js"></script>
<script type="text/javascript" src="scripts/two.js"></script>
<!-- endbuild -->
</body>
</html>
I want the resulting HTML like this:
<html>
<head>
<link rel="stylesheet" href="css/combined.css?v=20150829"/>
</head>
<body>
<script src="scripts/combined.js?v=20150829"></script>
</body>
</html>
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Where do you store your version number(s)? - Claris Community
I need a better way of keeping track of which version the file (or ... 1) "SOLUTION" table with a single record, where...
Read more >File Naming Conventions & Version Control
Include a 'version control table' with each important document, noting changes and their dates alongside the appropriate version number of the document. If ......
Read more >How To Do Document Version Control (with example)
Add the number to the file name. You can have Project Charter 0.1.docx and Business Case 0.1.docx. The numbering is specific to each...
Read more >How to insert version numbers in our java jars, that a user can ...
Firstly -- make sure your program or tool can some SHOW the version number. But where does it come from? We include it...
Read more >How versioning works in lists and libraries - Microsoft Support
A version is created only when someone checks out a file, changes it, and then checks it back in. When check-out is not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Some update about doing:
unicorn.css → unicorn.css?v=d41d8cd98f
instead:unicorn.css → unicorn-d41d8cd98f.css
?Here’s one way to do it.
https://github.com/yeoman/generator-gulp-webapp/blob/master/docs/recipes/asset-revisioning.md