Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Set automatic build numbers for plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <me@teran.ru>
  • Loading branch information
teran committed Nov 21, 2017
1 parent d2dc113 commit 5e96173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ all: clean dependencies build
build:
mkdir -p build temp/deduplicator.lrplugin/mac temp/deduplicator.lrplugin/win
cp -v deduplicator.lrdevplugin/*.lua temp/deduplicator.lrplugin/
sed 's~_BUILD_NUMBER_~'$(shell date +'%Y%m%d%H%M%S')'~' deduplicator.lrdevplugin/Info.lua > temp/deduplicator.lrplugin/Info.lua
cp -v temp/imgsum/bin/imgsum-darwin-amd64 temp/deduplicator.lrplugin/mac/imgsum-amd64
cp -v temp/imgsum/bin/imgsum-darwin-i386 temp/deduplicator.lrplugin/mac/imgsum-i386
cp -v temp/imgsum/bin/imgsum-windows-amd64.exe temp/deduplicator.lrplugin/win/imgsum-amd64.exe
Expand Down
2 changes: 1 addition & 1 deletion deduplicator.lrdevplugin/Info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugin_name = LOC "$$$/PluginInfo/Name=Deduplicator"
plugin_major = 1
plugin_minor = 0
plugin_revision = 3
plugin_build = 100011
plugin_build = _BUILD_NUMBER_
plugin_version = string.format('%s.%s.%s.%s', plugin_major, plugin_minor, plugin_revision, plugin_build)
plugin_id = 'me.teran.lightroom.deduplicator'
plugin_home_url = "https://github.com/teran/deduplicator"
Expand Down

0 comments on commit 5e96173

Please sign in to comment.