This commit is contained in:
parent
b2fb92dcbc
commit
c6e70e27a1
2 changed files with 5 additions and 5 deletions
|
@ -4,11 +4,11 @@ type: docker
|
|||
name: build
|
||||
|
||||
steps:
|
||||
- name: "Replace version"
|
||||
- name: "Replace version tag"
|
||||
image: "debian"
|
||||
commands:
|
||||
- sed -i s/<INSERT_TAG_DURING_BUILD>/${DRONE_TAG}/g lib/mastodon/version.rb
|
||||
|
||||
- sed -i s/INSERT_TAG_DURING_BUILD/${DRONE_TAG}/g lib/mastodon/version.rb
|
||||
depends_on: ["clone"]
|
||||
|
||||
- name: "Build Image"
|
||||
image: "plugins/docker:20.14.4"
|
||||
|
@ -27,7 +27,7 @@ steps:
|
|||
- "${DRONE_TAG}"
|
||||
force_tag: true
|
||||
dockerfile: Dockerfile
|
||||
depends_on: [clone]
|
||||
depends_on: ["Replace version tag"]
|
||||
|
||||
trigger:
|
||||
event: [tag]
|
||||
|
|
|
@ -21,7 +21,7 @@ module Mastodon
|
|||
end
|
||||
|
||||
def suffix
|
||||
'<INSERT_TAG_DURING_BUILD>'
|
||||
'INSERT_TAG_DURING_BUILD'
|
||||
end
|
||||
|
||||
def to_a
|
||||
|
|
Loading…
Reference in a new issue