An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

========
Versions
========

Small tool for generate version-string from Unix timestamp.

Usage
=====

Simple
------

.. code:: bash

$ ./versions.py
p272or

Save to file
------------

.. code:: bash

$ ./versions.py version-file
p272oz
$ cat version-file
p272oz

Prefix and suffix
-----------------

.. code:: bash

$ /versions.py --prefix=master- --suffix=-zzz
master-p28nus-zzz

Shell variables
---------------

:VERSIONS_FILE: file for save
:VERSIONS_PREFIX: prefix
:VERSIONS_SUFFIX: suffix

Docker version
==============

.. code:: bash

$ docker run --rm -t zzzsochi/versions
p273wl

Plugin for drone.io
===================

.. code:: yaml

pipeline:
versions:
image: zzzsochi/versions
file: build/version
prefix: master
suffix: zzz

Future
======

- Setup precise.