Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Issue related to tagging

$
0
0
Hi,

I tag the database for every release. So in the changelog once I have run all the changesets, the last changeset has the tag

However what I have observed is that this causes an update statement to be issued which updates the last run changeset with the tag number and then puts the entry for the tag in the databasechangelog table. This is a little strange behaviour. Either it should tag all changesets in that changelog with the tag version or none of them tagging only the changeset where the <tag is defined for example

<databaseChangeLog>
      <include file="schema-1.0.xml"/> -- This file contains multiple change sets
      <changeSet id="tag" author="some author">
            <tagDatabase tag="1.0"/>
      </changeSet>
</databaseChangeLog>

It causes a little bit of confusion when I look at the databasechangelog table where a changeset from the schema.xml is also tagged but others are left out. Is there something which I am not doing correctly?

Regards
Piyush

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>