https://github.com/zzzsochi/versions
Simple create a version number
https://github.com/zzzsochi/versions
ci docker drone drone-ci drone-plugin python rust versioning versions
Last synced: 7 months ago
JSON representation
Simple create a version number
- Host: GitHub
- URL: https://github.com/zzzsochi/versions
- Owner: zzzsochi
- Created: 2018-01-07T16:28:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T15:43:44.000Z (over 7 years ago)
- Last Synced: 2025-02-03T14:51:53.520Z (9 months ago)
- Topics: ci, docker, drone, drone-ci, drone-plugin, python, rust, versioning, versions
- Language: Rust
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
========
Versions
========Small tool for generate version-string from Unix timestamp.
Usage
=====Simple
------.. code:: bash
$ ./versions.py
p272orSave to file
------------.. code:: bash
$ ./versions.py version-file
p272oz
$ cat version-file
p272ozPrefix and suffix
-----------------.. code:: bash
$ /versions.py --prefix=master- --suffix=-zzz
master-p28nus-zzzShell variables
---------------:VERSIONS_FILE: file for save
:VERSIONS_PREFIX: prefix
:VERSIONS_SUFFIX: suffixDocker version
==============.. code:: bash
$ docker run --rm -t zzzsochi/versions
p273wlPlugin for drone.io
===================.. code:: yaml
pipeline:
versions:
image: zzzsochi/versions
file: build/version
prefix: master
suffix: zzzFuture
======- Setup precise.