Skip to content

Commit

Permalink
* include version in template disclaimer
Browse files Browse the repository at this point in the history
* include version in action generator
  • Loading branch information
cjac committed Jan 9, 2025
1 parent f2b50f7 commit 900c10a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/common/template_disclaimer
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#
# Google Cloud Dataproc Initialization Actions v[% IA_VERSION %]
#
# This initialization action is generated from
# initialization-actions/templates/[% template_path %]
# initialization-actions/templates/[% template_path %].in
#
# Modifications made directly to the generated file will be lost when
# the template is re-evaluated
# Modifications made directly to generated files will be lost when the
# templates are next evaluated.
3 changes: 3 additions & 0 deletions templates/generate-action.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
use Template;
use strict;

# Version of Initialization Actions we will generate
my $IA_VERSION="0.0.1";

my $action = $ARGV[0];
my $v = {
template_path => "${action}",
Expand Down

0 comments on commit 900c10a

Please sign in to comment.