Skip to content

Commit 900c10a

Browse files
committed
* include version in template disclaimer
* include version in action generator
1 parent f2b50f7 commit 900c10a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
#
2+
# Google Cloud Dataproc Initialization Actions v[% IA_VERSION %]
3+
#
14
# This initialization action is generated from
2-
# initialization-actions/templates/[% template_path %]
5+
# initialization-actions/templates/[% template_path %].in
36
#
4-
# Modifications made directly to the generated file will be lost when
5-
# the template is re-evaluated
7+
# Modifications made directly to generated files will be lost when the
8+
# templates are next evaluated.

templates/generate-action.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
use Template;
88
use strict;
99

10+
# Version of Initialization Actions we will generate
11+
my $IA_VERSION="0.0.1";
12+
1013
my $action = $ARGV[0];
1114
my $v = {
1215
template_path => "${action}",

0 commit comments

Comments
 (0)